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