### Question:
ENDSWITHFunction implements Function { @Override public String render(String... arguments) { return arguments[0] + " LIKE " + arguments[1].replaceFirst("'", "'%"); }  @Override String render(String... arguments);  }### Answer:
@Test public void testRender() { ENDSWITHFunction endsWithFunction = new ENDSWITHFunction(); assertEquals("TABLE.FIELD1 LIKE '%ABCD'", endsWithFunction.render("TABLE.FIELD1", "'ABCD'")); }