@Test
public void isAnMVELExpression() {

    ExpressionEvaluatorFactory ruleEvaluatorFactory = ExpressionEvaluatorFactory.create(classLoader, ScenarioSimulationModel.Type.RULE);
    assertFalse(ruleEvaluatorFactory.isAnMVELExpression("10"));
    assertTrue(ruleEvaluatorFactory.isAnMVELExpression(MVEL_ESCAPE_SYMBOL + "10"));
    assertTrue(ruleEvaluatorFactory.isAnMVELExpression("     " + MVEL_ESCAPE_SYMBOL + " 10"));
    assertTrue(ruleEvaluatorFactory.isAnMVELExpression(new TextNode(MVEL_ESCAPE_SYMBOL + " 10").textValue()));
    assertTrue(ruleEvaluatorFactory.isAnMVELExpression(new TextNode("     " + MVEL_ESCAPE_SYMBOL + " 10").textValue()));
    assertFalse(ruleEvaluatorFactory.isAnMVELExpression(new TextNode("10").textValue()));
}