assertEquals(Status.Error, exchange.getStatus());
}
public void testNoExceptionsOnUnknownExchange() throws Exception {
AssemblyReferencesListener listener = new AssemblyReferencesListener();
InternalEndpoint endpoint = new InternalEndpointWrapper(new EndpointImpl(ServiceHelper.createMap(Endpoint.ENDPOINT_NAME, "endpoint")),
ServiceHelper.createMap(Endpoint.ENDPOINT_NAME, "internal-endpoint"));
InternalExchange exchange = new ExchangeImpl(Pattern.InOnly);
exchange.setSource(endpoint);
exchange.setProperty(DeliveryChannelImpl.SEND_SYNC, Boolean.TRUE);