static Predicate obtainPredicateFromExpression(
            final CamelContext camelContext,
            final String predExpression,
            final String expressionLanguage) {
        try {
            return camelContext.resolveLanguage(expressionLanguage).createPredicate(predExpression);
        } catch (Exception e) {
            String message = String.format(ERROR_INVALID_PREDICATE_EXPRESSION, expressionLanguage, predExpression);
            throw new IllegalArgumentException(message, e);
        }
    }
@Test
    void obtainPredicateFromExpression() {
        String trueExpression = "true";
        Language language = context.resolveLanguage(expressionLanguage);
        Predicate expectedPredicate = language.createPredicate(trueExpression);
        Predicate actualPredicate = DynamicRouterControlService
                .obtainPredicateFromExpression(context, trueExpression, expressionLanguage);
        assertEquals(expectedPredicate, actualPredicate);
    }