### Question:
IsGreaterThan implements BinaryPredicate<T, T> { public static <T extends Comparable<?>> IsGreaterThan<T> instance() { return new IsGreaterThan<T>(); } @SuppressWarnings("unchecked")  IsGreaterThan();  IsGreaterThan(Comparator<? super T> comparator); boolean test(T left, T right); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static IsGreaterThan<T> instance(); static Predicate<T> instance(T right); static final IsGreaterThan<Comparable<?>> INSTANCE; }### Answer:
@Test public void testInstance() { assertTrue(IsGreaterThan.instance(Integer.valueOf(7)).test(Integer.valueOf(8))); assertTrue(!IsGreaterThan.instance(Integer.valueOf(7)).test(Integer.valueOf(6))); }