@Test
public void testOrString() throws Exception {

    Condition condition = new Condition();
    Expression left = new BinaryExpression(Operator.LESS_THAN, getVariable("a"), getVariable("b"));
    Expression right = new BinaryExpression(Operator.GREATER_THAN, getVariable("c"), getVariable("d"));
    condition.setExpression(new BinaryExpression(Operator.OR, left, right));
    GroovyExpression expr = new GroovyExpression(condition);
    Assert.assertEquals("a < b || c > d", expr.asString());
}