5253545556575859606162
Fixture f = new Fixture(); c.addRegistryShutdownListener(f); c.shutdown(); assertEquals(true, f.isShutdown()); // For good riddens; test no failure if already down.
5859606162636465666768
assertEquals(true, f.isShutdown()); // For good riddens; test no failure if already down. c.shutdown(); } public void testShutdownCoordinatorService() { Registry r = RegistryBuilder.constructDefaultRegistry();
93949596979899100101102103
} }); interceptLogging(); c.shutdown(); assertLoggedMessagePattern("Unable to shutdown .*: I'm just not in the mood\\."); } }