6869707172737475767778
assertNotNull( "object get failed", object ); assertEquals( "file path is wrong", "test-src/solution", boot.getFilePath() ); boot.stop(); assertFalse( boot.isInitialized() ); } @Test public void testBootListeners() throws Exception {
114115116117118119120121122123124
assertTrue( ok ); assertTrue( TestLifecycleListener.startupCalled ); assertFalse( TestLifecycleListener.shutdownCalled ); boot.stop(); assertFalse( boot.isInitialized() ); assertTrue( TestLifecycleListener.startupCalled ); assertTrue( TestLifecycleListener.shutdownCalled ); }
158159160161162163164165166167168
assertNull( boot.getSettingsProvider() ); assertTrue( boot.isInitialized() ); assertTrue( ok ); boot.stop(); assertFalse( boot.isInitialized() ); } @Test public void testBootSettings() throws Exception {