simpleMessageListenerConainer = new SimpleMessageListenerContainer();
incomingPort = new JMSIncomingPort();
incomingPort.setFactory(jmsTemplateFactory);
incomingPort.setConnectionFactory(connectionFactory);
RequestHandlerImpl requestHandlerImpl = new RequestHandlerImpl();
requestHandlerImpl.setUtilsService(new DefaultOsgiUtilsService(bundleContext));
handler = requestHandlerImpl;
TestInterface mock2 = mock(TestInterface.class);
registerServiceViaId(mock2, "test", TestInterface.class);
when(mock2.method(anyString(), anyInt(), any(TestClass.class))).thenReturn(new TestClass("test"));