Home
last modified time | relevance | path

Searched refs:refEq (Results 1 – 2 of 2) sorted by relevance

/external/mockito/src/test/java/org/mockitousage/matchers/
DReflectionMatchersTest.java13 import static org.mockito.Matchers.refEq;
56 verify(mock).run(refEq(wanted)); in shouldMatchWhenFieldValuesEqual()
62 verify(mock).run(refEq(wanted)); in shouldNotMatchWhenFieldValuesDiffer()
68 verify(mock).run(refEq(wanted)); in shouldNotMatchAgain()
74 verify(mock).run(refEq(wanted)); in shouldNotMatchYetAgain()
80 verify(mock).run(refEq(wanted)); in shouldNotMatch()
86 verify(mock).run(refEq(wanted, "childFieldTwo")); in shouldMatchWhenFieldValuesEqualWithOneFieldExcluded()
92 verify(mock).run(refEq(wanted, "childFieldTwo", "parentField")); in shouldMatchWhenFieldValuesEqualWithTwoFieldsExcluded()
93 verify(mock).run(refEq(wanted, "parentField", "childFieldTwo")); in shouldMatchWhenFieldValuesEqualWithTwoFieldsExcluded()
99 verify(mock).run(refEq(wanted, "childFieldTwo")); in shouldNotMatchWithFieldsExclusion()
/external/mockito/src/main/java/org/mockito/
DArgumentMatchers.java932 public static <T> T refEq(T value, String... excludeFields) { in refEq() method in ArgumentMatchers