Searched refs:equalToObject (Results 1 – 5 of 5) sorted by relevance
8 import static org.hamcrest.core.IsEqual.equalToObject;114 assertMatches(equalToObject(10), original); in hasUntypedVariant()115 assertDoesNotMatch(equalToObject(0), original); in hasUntypedVariant()116 assertDoesNotMatch(equalToObject("10"), original); in hasUntypedVariant()117 assertDoesNotMatch(equalToObject(10), "10"); in hasUntypedVariant()
21 * Fix gh issue #59 - added equalToObject() (i.e. unchecked) method37 * Fix issue 59 - add untyped version of equalTo, named equalToObject
94 public static Matcher<Object> equalToObject(Object operand) { in equalToObject() method in IsEqual
253 public static org.hamcrest.Matcher<java.lang.Object> equalToObject(java.lang.Object operand) { in equalToObject() method in CoreMatchers254 return org.hamcrest.core.IsEqual.equalToObject(operand); in equalToObject()
337 public static org.hamcrest.Matcher<java.lang.Object> equalToObject(java.lang.Object operand) { in equalToObject() method in Matchers338 return org.hamcrest.core.IsEqual.equalToObject(operand); in equalToObject()