Searched refs:identicalTo (Results 1 – 4 of 4) sorted by relevance
23 import static com.google.inject.matcher.Matchers.identicalTo;113 assertEquals("identicalTo(1)", identicalTo(1).toString()); in testIdenticalTo()114 assertTrue(identicalTo(o).matches(o)); in testIdenticalTo()115 assertFalse(identicalTo(o).matches(new Object())); in testIdenticalTo()116 assertEqualsBothWays(identicalTo(o), identicalTo(o)); in testIdenticalTo()117 assertFalse(identicalTo(1).equals(identicalTo(new Integer(1)))); in testIdenticalTo()157 assertEqualWhenReserialized(identicalTo(Object.class)); in testSerialization()
136 convertToClasses(injector, Matchers.identicalTo(type), converter); in convertToClass()
254 public static Matcher<Object> identicalTo(final Object value) { in identicalTo() method in Matchers
143 super.bindInterceptor(Matchers.any(), Matchers.returns(Matchers.identicalTo(A.class)), in testInterceptorsInherited()