* others from being notified.
*/
@Test
public void notification_error()
{
RegistryShutdownListener l1 = mockListener();
RegistryShutdownListener l2 = mockListener();
RegistryShutdownListener l3 = mockListener();
Logger logger = mockLogger();
Throwable t = new RuntimeException("Shutdown failure.");
l1.registryDidShutdown();
l2.registryDidShutdown();
setThrowable(t);
logger.error(contains("Shutdown failure."), same(t));
l3.registryDidShutdown();
replay();
RegistryShutdownHubImpl hub = new RegistryShutdownHubImpl(logger);