### Question:
IsNotSame implements BinaryPredicate<L, R> { public static <L, R> IsNotSame<L, R> instance() { return new IsNotSame<L, R>(); } IsNotSame(); boolean test(L left, R right); @Override boolean equals(Object that); @Override int hashCode(); @Override String toString(); static IsNotSame<L, R> instance(); static Predicate<L> as(R object); static final IsNotSame<Object, Object> INSTANCE; }### Answer:
@Test public void testConstant() throws Exception { assertEquals(IsNotSame.instance(), IsNotSame.instance()); assertNotSame(IsNotSame.instance(), IsNotSame.instance()); assertSame(IsNotSame.INSTANCE, IsNotSame.INSTANCE); }