Home
last modified time | relevance | path

Searched refs:getMockSettings (Results 1 – 19 of 19) sorted by relevance

/external/mockito/src/main/java/org/mockito/internal/util/
DMockUtil.java47 MockCreationSettings settings = oldHandler.getMockSettings(); in resetMock()
70 … return isMock(mock) && getMockSettings(mock).getDefaultAnswer() == Mockito.CALLS_REAL_METHODS; in isSpy()
85 return getMockHandler(mock).getMockSettings().getMockName(); in getMockName()
91 MockCreationSettings mockSettings = getMockHandler(mock).getMockSettings(); in maybeRedefineMockName()
97 public static MockCreationSettings getMockSettings(Object mock) { in getMockSettings() method in MockUtil
98 return getMockHandler(mock).getMockSettings(); in getMockSettings()
DDefaultMockingDetails.java52 return mockHandler().getMockSettings(); in getMockCreationSettings()
/external/mockito/src/main/java/org/mockito/internal/handler/
DNullResultGuardian.java39 public MockCreationSettings<T> getMockSettings() { in getMockSettings() method in NullResultGuardian
40 return delegate.getMockSettings(); in getMockSettings()
DInvocationNotifierHandler.java65 public MockCreationSettings<T> getMockSettings() { in getMockSettings() method in InvocationNotifierHandler
66 return mockHandler.getMockSettings(); in getMockSettings()
DMockHandlerImpl.java116 public MockCreationSettings<T> getMockSettings() { in getMockSettings() method in MockHandlerImpl
/external/mockito/src/test/java/org/mockito/internal/handler/
DInvocationNotifierHandlerTest.java122 notifier.getMockSettings(); in should_delegate_all_MockHandlerInterface_to_the_parameterized_MockHandler()
125 verify(mockHandler).getMockSettings(); in should_delegate_all_MockHandlerInterface_to_the_parameterized_MockHandler()
DMockHandlerImplTest.java112 … given(handler.getMockSettings().getInvocationListeners()).willReturn(Arrays.asList(listener)); in create_handler_with_listeners()
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
DReturnsDeepStubs.java95 MockCreationSettings parentMockSettings = MockUtil.getMockSettings(parentMock); in newDeepStubMock()
125 …CreationSettings mockSettings = (CreationSettings) MockUtil.getMockHandler(mock).getMockSettings(); in actualParameterizedType()
DTriesToReturnSelf.java20 Class<?> mockType = MockUtil.getMockHandler(mock).getMockSettings().getTypeToMock(); in answer()
DReturnsEmptyValues.java62 …return "Mock for " + MockUtil.getMockSettings(mock).getTypeToMock().getSimpleName() + ", hashCode:… in answer()
/external/mockito/src/main/java/org/mockito/internal/listeners/
DStubbingLookupEvent.java35 MockCreationSettings getMockSettings(); in getMockSettings() method
DStubbingLookupNotifier.java61 public MockCreationSettings getMockSettings() { in getMockSettings() method in StubbingLookupNotifier.Event
/external/mockito/src/main/java/org/mockito/invocation/
DMockHandler.java48 MockCreationSettings<T> getMockSettings(); in getMockSettings() method
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DByteBuddyCrossClassLoaderSerializationSupport.java118 … String mockedType = MockUtil.getMockSettings(mockitoMock).getTypeToMock().getCanonicalName(); in writeReplace()
182 MockCreationSettings<?> mockSettings = MockUtil.getMockSettings(mockitoMock); in CrossClassLoaderSerializationProxy()
/external/mockito/src/main/java/org/mockito/internal/junit/
DDefaultStubbingLookupListener.java35 …tualStrictness = determineStrictness(event.getStubbingFound(), event.getMockSettings(), currentStr… in onStubbingLookup()
/external/mockito/src/test/java/org/mockito/internal/listeners/
DStubbingLookupNotifierTest.java66 creationSettings == argument.getMockSettings(); in matches()
/external/mockito/src/main/java/org/mockito/internal/
DMockitoCore.java95 if (handler.getMockSettings().isStubOnly()) { in verify()
99 handler.getMockSettings().getVerificationStartedListeners(), mockingDetails); in verify()
/external/mockito/src/test/java/org/mockito/internal/util/
DMockUtilTest.java44 assertNotNull(MockUtil.getMockSettings(mock)); in should_get_mock_settings()
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/
DAbstractByteBuddyMockMakerTest.java190 public MockCreationSettings<Object> getMockSettings() { return null; } in getMockSettings() method in AbstractByteBuddyMockMakerTest.DummyMockHandler