assertEquals("1.1", c.getSpecification()); // 1.0.2b is the default, should be changed in the config
}
public void testEndpointConfig() throws MuleException
{
ImmutableEndpoint endpoint1 = muleContext.getRegistry().lookupEndpointBuilder("endpoint1").buildInboundEndpoint();
assertNotNull(endpoint1);
Filter filter1 = endpoint1.getFilter();
assertNotNull(filter1);
assertTrue(filter1 instanceof JmsSelectorFilter);
assertEquals(1, endpoint1.getProperties().size());
assertEquals("true", endpoint1.getProperty(JmsConstants.DISABLE_TEMP_DESTINATIONS_PROPERTY));
ImmutableEndpoint endpoint2 = muleContext.getRegistry().lookupEndpointBuilder("endpoint2").buildOutboundEndpoint();
assertNotNull(endpoint2);
Filter filter2 = endpoint2.getFilter();
assertNotNull(filter2);
assertTrue(filter2 instanceof NotFilter);
Filter filter3 = ((NotFilter) filter2).getFilter();
assertNotNull(filter3);
assertTrue(filter3 instanceof JmsPropertyFilter);