public void testAddAndDeleteRoute() throws Exception
{
try
{
TestMessageProcessor mp = new TestMessageProcessor("bar");
choiceRouter.addRoute(mp, new EqualsFilter("zap"));
choiceRouter.removeRoute(mp);
choiceRouter.setRouterStatistics(new RouterStatistics(RouterStatistics.TYPE_OUTBOUND));
choiceRouter.process(getTestEvent("zap"));
fail("should have got a MuleException");
}