}
public void testReceiversLifecycle() throws Exception
{
Service service=getTestService();
service.start();
connector.registerListener(getTestInboundEndpoint("in", "test://in"), getSensingNullMessageProcessor(), service);
assertEquals(1, connector.receivers.size());
assertFalse(( connector.receivers.get("in")).isConnected());
assertFalse(((AbstractMessageReceiver) connector.receivers.get("in")).isStarted());