### Question:
Operations { public ClientFunction endsWith(String value) { return new ClientFunction(ClientExpressions.ENDS_WITH_FUN, ClientExpressions.list(getMe(), new ClientString(value))); } protected  Operations(); protected  Operations(Operations source); ClientComparison eq(ClientExpression expression); ClientComparison eq(String value); ClientComparison eq(Byte value); ClientComparison eq(Short value); ClientComparison eq(Integer value); ClientComparison eq(Long value); ClientComparison eq(BigInteger value); ClientComparison eq(Float value); ClientComparison eq(Double value); ClientComparison eq(BigDecimal value); ClientComparison notEq(ClientExpression expression); ClientComparison notEq(String value); ClientComparison notEq(Byte value); ClientComparison notEq(Short value); ClientComparison notEq(Integer value); ClientComparison notEq(Long value); ClientComparison notEq(BigInteger value); ClientComparison notEq(Float value); ClientComparison notEq(Double value); ClientComparison notEq(BigDecimal value); ClientFunction startsWith(String value); ClientFunction startsWith(ClientVariable variable); ClientFunction endsWith(String value); ClientFunction contains(String value); ClientComparison gtOrEq(ClientExpression expression); ClientComparison gtOrEq(Byte value); ClientComparison gtOrEq(Short value); ClientComparison gtOrEq(Integer value); ClientComparison gtOrEq(Long value); ClientComparison gtOrEq(BigInteger value); ClientComparison gtOrEq(Float value); ClientComparison gtOrEq(Double value); ClientComparison gtOrEq(BigDecimal value); ClientComparison ltOrEq(ClientExpression expression); ClientComparison ltOrEq(Byte value); ClientComparison ltOrEq(Short value); ClientComparison ltOrEq(Integer value); ClientComparison ltOrEq(Long value); ClientComparison ltOrEq(BigInteger value); ClientComparison ltOrEq(Float value); ClientComparison ltOrEq(Double value); ClientComparison ltOrEq(BigDecimal value); ClientComparison gt(ClientExpression expression); ClientComparison gt(Byte value); ClientComparison gt(Short value); ClientComparison gt(Integer value); ClientComparison gt(Long value); ClientComparison gt(BigInteger value); ClientComparison gt(Float value); ClientComparison gt(Double value); ClientComparison gt(BigDecimal value); ClientComparison lt(ClientExpression expression); ClientComparison lt(Byte value); ClientComparison lt(Short value); ClientComparison lt(Integer value); ClientComparison lt(Long value); ClientComparison lt(BigInteger value); ClientComparison lt(Float value); ClientComparison lt(Double value); ClientComparison lt(BigDecimal value); ClientFunction equalsDate(Date value); ClientFunction beforeDate(Date value); ClientFunction afterDate(Date value); ClientFunction isOnOrBeforeDate(Date value); ClientFunction isOnOrAfterDate(Date value); ClientFunction betweenDates(Date begin, Date end); ClientFunction equalsDate(Timestamp value); ClientFunction beforeDate(Timestamp value); ClientFunction afterDate(Timestamp value); ClientFunction isOnOrBeforeDate(Timestamp value); ClientFunction isOnOrAfterDate(Timestamp value); ClientFunction betweenDates(Timestamp begin, Timestamp end); ClientFunction equalsDate(Time value); ClientFunction beforeDate(Time value); ClientFunction afterDate(Time value); ClientFunction isOnOrBeforeDate(Time value); ClientFunction isOnOrAfterDate(Time value); ClientFunction betweenDates(Time begin, Time end); ClientFunction equalsDate(String value); ClientFunction beforeDate(String value); ClientFunction afterDate(String value); ClientFunction isOnOrBeforeDate(String value); ClientFunction isOnOrAfterDate(String value); ClientFunction betweenDates(String begin, String end);  }### Answer:
@Test public void endsWith_string_clientFunction() { String value = "string"; List<ClientExpression> operands = Arrays.asList((ClientExpression) clientVariable, new ClientString(value)); ClientFunction result = clientVariable.endsWith(value); assertEquals(ClientExpressions.ENDS_WITH_FUN, result.getFunctionName()); assertEquals(operands, result.getOperands()); }