### Question:
IsGreaterThanOrEqual implements BinaryPredicate<T, T> { @Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof IsGreaterThanOrEqual<?>)) { return false; } IsGreaterThanOrEqual<?> that = (IsGreaterThanOrEqual<?>) obj; return this.comparator.equals(that.comparator); } @SuppressWarnings("unchecked")  IsGreaterThanOrEqual();  IsGreaterThanOrEqual(Comparator<? super T> comparator); boolean test(T left, T right); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static IsGreaterThanOrEqual<T> instance(); static Predicate<T> instance(T right); static final IsGreaterThanOrEqual<Comparable<?>> INSTANCE; }### Answer:
@Test public void testEquals() throws Exception { IsGreaterThanOrEqual<Comparable<?>> p = new IsGreaterThanOrEqual<Comparable<?>>(); assertEquals(p, p); assertObjectsAreEqual(p, new IsGreaterThanOrEqual<Comparable<?>>()); assertObjectsAreEqual(p, new IsGreaterThanOrEqual<Integer>(ComparableComparator.<Integer> instance())); assertObjectsAreEqual(p, IsGreaterThanOrEqual.instance()); assertObjectsAreNotEqual(p, Constant.FALSE); assertFalse(p.equals(null)); }