{
List<MessageProcessor> list = new ArrayList<MessageProcessor>();
list.add(getTestOutboundEndpoint("test"));
list.add(getTestOutboundEndpoint("test"));
AbstractExceptionStrategy router = new DefaultMessagingExceptionStrategy(muleContext, true);
assertNotNull(router.getMessageProcessors());
assertEquals(0, router.getMessageProcessors().size());
router.addEndpoint(getTestOutboundEndpoint("test"));
assertEquals(1, router.getMessageProcessors().size());
router.setMessageProcessors(list);
assertNotNull(router.getMessageProcessors());
assertEquals(2, router.getMessageProcessors().size());
}