Searched refs:isSpy (Results 1 – 7 of 7) sorted by relevance
55 assertFalse(MockUtil.isSpy("i mock a mock")); in should_validate_spy()56 assertFalse(MockUtil.isSpy(Mockito.mock(List.class))); in should_validate_spy()57 assertFalse(MockUtil.isSpy(null)); in should_validate_spy()59 assertTrue(MockUtil.isSpy(Mockito.spy(new ArrayList()))); in should_validate_spy()60 assertTrue(MockUtil.isSpy(Mockito.spy(ArrayList.class))); in should_validate_spy()61 …assertTrue(MockUtil.isSpy(Mockito.mock(ArrayList.class, withSettings().defaultAnswer(Mockito.CALLS… in should_validate_spy()
62 assertFalse(mockingDetails(foo).isSpy()); in should_know_mock()63 assertFalse(mockingDetails(mock(Foo.class)).isSpy()); in should_know_mock()68 assertFalse(mockingDetails("non mock").isSpy()); in should_handle_non_mocks()71 assertFalse(mockingDetails(null).isSpy()); in should_handle_non_mocks()
36 public boolean isSpy(){ in isSpy() method in DefaultMockingDetails37 return MockUtil.isSpy(toInspect); in isSpy()
69 public static boolean isSpy(Object mock) { in isSpy() method in MockUtil
38 boolean isSpy(); in isSpy() method
84 || MockUtil.isSpy(instance); in isMockOrSpy()
421 assertFalse(superClassDetails.isSpy()); in verifyMockingDetails()427 assertTrue(subClassDetails.isSpy()); in verifyMockingDetails()