ir.setFlowConstruct(service);
ir.setThrowOnUnaccepted(false);
MuleMessage okMessage = new DefaultMuleMessage("OK", muleContext);
okMessage.setOutboundProperty("id", "1");
MuleEvent event = new DefaultMuleEvent(okMessage, endpoint1, (MuleSession) session.proxy());
// This one will process the event on the target endpoint
event = ir.process(event);
assertNotNull(event);
// This will not process, because the ID is a duplicate
okMessage = new DefaultMuleMessage("OK", muleContext);
okMessage.setOutboundProperty("id", "1");
event = new DefaultMuleEvent(okMessage, endpoint1, (MuleSession) session.proxy());
event = ir.process(event);
assertNull(event);
}