@Test
public void getTheBestMatchingBehavior()
{
MockedMessageProcessorManager manager = new MockedMessageProcessorManager();
MessageProcessorCall bestMatchingCall = createCall();
Map<String, Object> attributes = bestMatchingCall.getAttributes();
attributes.put("attr2", "attrValue2");
manager.addBehavior(new MessageProcessorBehavior(createCall(), new CopyMessageTransformer((DefaultMuleMessage) muleMessage)));
manager.addBehavior(new MessageProcessorBehavior(bestMatchingCall, new CopyMessageTransformer((DefaultMuleMessage) muleMessage)));