Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
mark init() visisble for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jdillon committed Oct 18, 2012
1 parent 2ee127d commit 1e69638
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Expand Up @@ -381,7 +381,8 @@ public NexusStreamResponse getConfigurationAsStreamByKey( String key )
// ===========================
// Nexus Application lifecycle

private void init()
@VisibleForTesting
void init()
{
logInitialize();

Expand Down
Expand Up @@ -134,7 +134,7 @@ protected void setUp()
public void initializeLogsApplicationInitialize()
throws Exception
{
spyDefaultNexus.initialize();
spyDefaultNexus.init();
verify( spyDefaultNexus, times( 1 ) ).logInitialize();
}

Expand Down

0 comments on commit 1e69638

Please sign in to comment.