private MockQueue queue;
@Test
public void setJMSReplyToQueue() throws JMSException, URISyntaxException, ConfigurationException, NamingException, ConnectionException, NamingContextException, NotificationException
{
TextMessageImpl inBoundJmsMessage = new TextMessageImpl();
inBoundJmsMessage.setJMSReplyTo( queue );
Message esbMessage = MessageFactory.getInstance().getMessage();
new DefaultESBPropertiesSetter().setPropertiesFromJMSMessage( inBoundJmsMessage, esbMessage );
NotifyJMS notifyJMS = new NotifyQueues( new ConfigTree("test" ) );
TextMessageImpl outBoundJmsMessage = new TextMessageImpl();
notifyJMS.setJMSReplyTo( outBoundJmsMessage, esbMessage );
Destination replyTo = outBoundJmsMessage.getJMSReplyTo();
assertTrue( replyTo instanceof Queue );
}