assertTrue(TransformerUtils.firstOrNull(endpoint.getTransformers()) instanceof TestCompressionTransformer);
assertEquals(2, ((ServiceCompositeMessageSource) service.getMessageSource()).getEndpoints().size());
assertNotNull(((ServiceCompositeMessageSource) service.getMessageSource()).getCatchAllStrategy());
assertTrue(((ServiceCompositeMessageSource) service.getMessageSource()).getCatchAllStrategy() instanceof ForwardingCatchAllStrategy);
ForwardingCatchAllStrategy fcas = (ForwardingCatchAllStrategy)((ServiceCompositeMessageSource) service.getMessageSource()).getCatchAllStrategy();
assertNotNull(fcas.getEndpoint());
assertEquals("test://catch.all", fcas.getEndpoint().getEndpointURI().toString());
endpoint = ((ServiceCompositeMessageSource) service.getMessageSource()).getEndpoint("orangeEndpoint");
assertNotNull(endpoint);
assertEquals("orangeEndpoint", endpoint.getName());
assertEquals("orangeQ", endpoint.getEndpointURI().getAddress());
assertNotNull(endpoint.getTransformers());