public void testDefaultConfig() throws Exception
{
JmsConnector c = (JmsConnector)muleContext.getRegistry().lookupConnector("jmsConnector");
assertNotNull(c);
assertTrue(c instanceof MuleMQJmsConnector);
MuleMQJmsConnector mqc = (MuleMQJmsConnector)c;
assertTrue(mqc.isInCluster());
assertTrue(c.isEagerConsumer());
JmsTopicResolver resolver = c.getTopicResolver();
assertNotNull("Topic resolver must not be null.", resolver);
assertTrue("Wrong topic resolver configured on the connector.",
resolver instanceof DefaultJmsTopicResolver);