### Question:
Identity implements Function<T, T>, Predicate<T> { public static <T> Identity<T> instance() { return new Identity<T>(); } Identity(); T evaluate(T obj); boolean test(Object obj); boolean test(Boolean bool); @Override boolean equals(Object that); @Override int hashCode(); @Override String toString(); static Identity<T> instance(); static final Identity<Object> INSTANCE; }### Answer:
@Test public void testConstant() throws Exception { assertEquals(Identity.instance(),Identity.instance()); }