Home
last modified time | relevance | path

Searched refs:getMockHandler (Results 1 – 11 of 11) sorted by relevance

/external/mockito/src/main/java/org/mockito/internal/util/
DMockUtil.java46 MockHandler oldHandler = getMockHandler(mock); in resetMock()
53 public static <T> MockHandler<T> getMockHandler(T mock) { in getMockHandler() method in MockUtil
66 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()
DDefaultMockingDetails.java67 public MockHandler getMockHandler() { in getMockHandler() method in DefaultMockingDetails
78 return MockUtil.getMockHandler(toInspect); in mockHandler()
/external/mockito/src/test/java/org/mockito/
DInvocationFactoryTest.java42 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()
DStaticMockingExperimentTest.java44 MockHandler handler = Mockito.mockingDetails(mock).getMockHandler();
/external/mockito/src/test/java/org/mockito/internal/util/
DMockUtilTest.java28 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()
/external/mockito/src/main/java/org/mockito/
DMockingDetails.java123 MockHandler getMockHandler(); in getMockHandler() method
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
DTriesToReturnSelf.java20 Class<?> mockType = MockUtil.getMockHandler(mock).getMockSettings().getTypeToMock(); in answer()
DReturnsDeepStubs.java125 …CreationSettings mockSettings = (CreationSettings) MockUtil.getMockHandler(mock).getMockSettings(); in actualParameterizedType()
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DMockMethodInterceptor.java66 public MockHandler getMockHandler() { in getMockHandler() method in MockMethodInterceptor
DSubclassByteBuddyMockMaker.java133 return ((MockAccess) mock).getMockitoInterceptor().getMockHandler(); in getHandler()
/external/mockito/src/main/java/org/mockito/internal/
DMockitoCore.java94 MockHandler handler = mockingDetails.getMockHandler(); in verify()