Searched refs:getMockHandler (Results 1 – 11 of 11) sorted by relevance
46 MockHandler oldHandler = getMockHandler(mock); in resetMock()53 public static <T> MockHandler<T> getMockHandler(T mock) { in getMockHandler() method in MockUtil66 return (InvocationContainerImpl) getMockHandler(mock).getInvocationContainer(); in getInvocationContainer()85 return getMockHandler(mock).getMockSettings().getMockName(); in getMockName()91 MockCreationSettings mockSettings = getMockHandler(mock).getMockSettings(); in maybeRedefineMockName()98 return getMockHandler(mock).getMockSettings(); in getMockSettings()
67 public MockHandler getMockHandler() { in getMockHandler() method in DefaultMockingDetails78 return MockUtil.getMockHandler(toInspect); in mockHandler()
42 Mockito.mockingDetails(mock).getMockHandler().handle(invocation); in call_method_that_throws_a_throwable()63 Object ret = Mockito.mockingDetails(mock).getMockHandler().handle(invocation); in call_method_that_returns_a_string()78 Object ret = Mockito.mockingDetails(mock).getMockHandler().handle(invocation); in deprecated_api_still_works()
44 MockHandler handler = Mockito.mockingDetails(mock).getMockHandler();
28 assertNotNull(MockUtil.getMockHandler(mock)); in should_get_handler()33 MockUtil.getMockHandler(""); in should_scream_when_not_a_mock_passed()38 MockUtil.getMockHandler(null); in should_scream_when_null_passed()
123 MockHandler getMockHandler(); in getMockHandler() method
20 Class<?> mockType = MockUtil.getMockHandler(mock).getMockSettings().getTypeToMock(); in answer()
125 …CreationSettings mockSettings = (CreationSettings) MockUtil.getMockHandler(mock).getMockSettings(); in actualParameterizedType()
66 public MockHandler getMockHandler() { in getMockHandler() method in MockMethodInterceptor
133 return ((MockAccess) mock).getMockitoInterceptor().getMockHandler(); in getHandler()
94 MockHandler handler = mockingDetails.getMockHandler(); in verify()