Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
elandau committed Aug 14, 2015
1 parent 013707b commit c3b4eed
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ public void testWithExternalListener() throws InterruptedException {
CountingLifecycleListener listener = new CountingLifecycleListener();
injector.addListener(listener);

Assert.assertEquals(0, listener.getStartedCount());
Assert.assertEquals(1, listener.getStartedCount());
Assert.assertEquals(0, listener.getStartFailedCount());
Assert.assertEquals(0, listener.getStoppedCount());

injector.shutdown();

Assert.assertEquals(0, listener.getStartedCount());
Assert.assertEquals(1, listener.getStartedCount());
Assert.assertEquals(0, listener.getStartFailedCount());
Assert.assertEquals(1, listener.getStoppedCount());
}
Expand Down

0 comments on commit c3b4eed

Please sign in to comment.