### Question:
GreaterOperator extends AbstractOperator implements RelationalOperator { @Override public Predicate toPredicate(String prop, String val) { return new GreaterPredicate<>(prop, val); } GreaterOperator(); @Override TYPE getType(); @Override Predicate toPredicate(String prop, String val); @Override String getName();  }### Answer:
@Test public void testToPredicate() { assertEquals(new GreaterPredicate<>("1", "2"), new GreaterOperator().toPredicate("1", "2")); }