Searched refs:identicalTo (Results 1 – 4 of 4) sorted by relevance
23 import static com.google.inject.matcher.Matchers.identicalTo;108 assertEquals("identicalTo(1)", identicalTo(1).toString()); in testIdenticalTo()109 assertTrue(identicalTo(o).matches(o)); in testIdenticalTo()110 assertFalse(identicalTo(o).matches(new Object())); in testIdenticalTo()111 assertEqualsBothWays(identicalTo(o), identicalTo(o)); in testIdenticalTo()112 assertFalse(identicalTo(1).equals(identicalTo(new Integer(1)))); in testIdenticalTo()152 assertEqualWhenReserialized(identicalTo(Object.class)); in testSerialization()
153 convertToClasses(injector, Matchers.identicalTo(type), converter); in convertToClass()
254 public static Matcher<Object> identicalTo(final Object value) { in identicalTo() method in Matchers
163 Matchers.returns(Matchers.identicalTo(A.class)), in testInterceptorsInherited()