Searched refs:ObjectMethodsGuru (Results 1 – 7 of 7) sorted by relevance
32 … 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()40 assertFalse(ObjectMethodsGuru.isCompareToMethod(Date.class.getMethod("toString"))); in shouldKnowCompareToMethod()41 …assertFalse(ObjectMethodsGuru.isCompareToMethod(HasCompare.class.getMethod("foo", HasCompare.class… in shouldKnowCompareToMethod()42 …assertFalse(ObjectMethodsGuru.isCompareToMethod(HasCompare.class.getMethod("compareTo", HasCompare… in shouldKnowCompareToMethod()43 …assertFalse(ObjectMethodsGuru.isCompareToMethod(HasCompare.class.getMethod("compareTo", String.cla… in shouldKnowCompareToMethod()44 …assertFalse(ObjectMethodsGuru.isCompareToMethod(HasCompareToButDoesNotImplementComparable.class.ge… in shouldKnowCompareToMethod()46 …assertTrue(ObjectMethodsGuru.isCompareToMethod(HasCompare.class.getMethod("compareTo", HasCompare.… in shouldKnowCompareToMethod()
11 public class ObjectMethodsGuru{ class13 private ObjectMethodsGuru() { in ObjectMethodsGuru() method in ObjectMethodsGuru
14 import static org.mockito.internal.util.ObjectMethodsGuru.isCompareToMethod;15 import static org.mockito.internal.util.ObjectMethodsGuru.isToStringMethod;
8 import static org.mockito.internal.util.ObjectMethodsGuru.isToStringMethod;
7 import static org.mockito.internal.util.ObjectMethodsGuru.isToStringMethod;
16 import static org.mockito.internal.util.ObjectMethodsGuru.isToStringMethod;
12 import static org.mockito.internal.util.ObjectMethodsGuru.isToStringMethod;