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