@Test
public void testSingleListenerRegistration() {
BusLifeCycleListener listener1 = EasyMock.createMock(BusLifeCycleListener.class);
CXFBusLifeCycleManager mgr = new CXFBusLifeCycleManager();
mgr.registerLifeCycleListener(listener1);
EasyMock.reset(listener1);
listener1.initComplete();
EasyMock.replay(listener1);
mgr.initComplete();
EasyMock.verify(listener1);
EasyMock.reset(listener1);
listener1.preShutdown();
EasyMock.replay(listener1);
mgr.preShutdown();
EasyMock.verify(listener1);
EasyMock.reset(listener1);
listener1.postShutdown();
EasyMock.replay(listener1);
mgr.postShutdown();
EasyMock.verify(listener1);
}