Home
last modified time | relevance | path

Searched refs:isToStringMethod (Results 1 – 7 of 7) sorted by relevance

/external/mockito/src/test/java/org/mockito/internal/util/
DObjectMethodsGuruTest.java32 … assertFalse(ObjectMethodsGuru.isToStringMethod(Object.class.getMethod("equals", Object.class))); in shouldKnowToStringMethod()
33 …assertFalse(ObjectMethodsGuru.isToStringMethod(IMethods.class.getMethod("toString", String.class))… in shouldKnowToStringMethod()
34 assertTrue(ObjectMethodsGuru.isToStringMethod(IMethods.class.getMethod("toString"))); in shouldKnowToStringMethod()
/external/mockito/src/main/java/org/mockito/internal/matchers/text/
DMatcherToString.java7 import static org.mockito.internal.util.ObjectMethodsGuru.isToStringMethod;
33 if(isToStringMethod(m)) { in toString()
/external/mockito/src/main/java/org/mockito/internal/verification/
DVerificationDataImpl.java16 import static org.mockito.internal.util.ObjectMethodsGuru.isToStringMethod;
48 if (isToStringMethod(wanted.getMethod())) { in assertWantedIsVerifiable()
DDefaultRegisteredInvocations.java12 import static org.mockito.internal.util.ObjectMethodsGuru.isToStringMethod;
62 return isToStringMethod(invocation.getMethod()); in isOut()
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
DReturnsSmartNulls.java8 import static org.mockito.internal.util.ObjectMethodsGuru.isToStringMethod;
66 if (isToStringMethod(currentInvocation.getMethod())) { in answer()
DReturnsEmptyValues.java15 import static org.mockito.internal.util.ObjectMethodsGuru.isToStringMethod;
58 if (isToStringMethod(invocation.getMethod())) { in answer()
/external/mockito/src/main/java/org/mockito/internal/util/
DObjectMethodsGuru.java16 public static boolean isToStringMethod(Method method) { in isToStringMethod() method in ObjectMethodsGuru