context.start();
} catch (FailedToCreateRouteException e) {
RuntimeCamelException rce = assertIsInstanceOf(RuntimeCamelException.class, e.getCause());
MethodNotFoundException mnfe = assertIsInstanceOf(MethodNotFoundException.class, rce.getCause());
assertEquals("getOther[xx", mnfe.getMethodName());
ExpressionIllegalSyntaxException cause = assertIsInstanceOf(ExpressionIllegalSyntaxException.class, mnfe.getCause());
assertEquals("Illegal syntax: getOther[xx", cause.getMessage());
assertEquals("getOther[xx", cause.getExpression());
}
}