@Test
public void testToProtoSQLPropertyIsLikeRequiredEscapeClausePresent()
                        throws UnmappableException, FilterEvaluationException {

    Expression testValue = new ValueReference( "shortdesc", CommonNamespaces.getNamespaceContext() );
    Expression pattern = new Literal<PrimitiveValue>( "HOWELLCITY" );
    String wildCard = "*";
    String singleChar = "#";
    String escapeChar = "!";
    Boolean matchCase = true;
    MatchAction matchAction = MatchAction.ALL;
    PropertyIsLike op = new PropertyIsLike( testValue, pattern, wildCard, singleChar, escapeChar, matchCase,
                                            matchAction );
    SQLOperation protoSQL = whereBuilder.toProtoSQL( op );
    StringBuilder sql = protoSQL.getSQL();
    Assert.assertEquals( "table.shortdesc LIKE 'HOWELLCITY' ESCAPE '\\'", sql.toString() );
}