Skip to content

Commit

Permalink
Merge pull request #236 from elandau/nextgen
Browse files Browse the repository at this point in the history
Fix unit test
  • Loading branch information
elandau committed Aug 14, 2015
2 parents c893b63 + c3b4eed commit 34509c0
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 34509c0

Please sign in to comment.