@Test
public void createJMSMessage() throws ParserConfigurationException, JMSException, SAXException, IOException
{
final String beanId = "123";
final TestBean bean = RouterTestHelper.createBean();
MockExecutionContext executionContext = RouterTestHelper.createExecutionContext( beanId, bean );
Message message = strategy.createJMSMessage( beanId, executionContext, jmsSession ) ;
assertTrue ( message instanceof TextMessage );
TextMessage textMessage = (TextMessage) message;
assertEquals( bean.toString(), textMessage.getText() );
}