Home
last modified time | relevance | path

Searched refs:MockSettingsImpl (Results 1 – 15 of 15) sorted by relevance

/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/
DAbstractByteBuddyMockMakerTest.java10 import org.mockito.internal.creation.MockSettingsImpl;
158 MockSettingsImpl<T> mockSettings = new MockSettingsImpl<T>(); in settingsFor()
165 MockSettingsImpl<T> mockSettings = new MockSettingsImpl<T>(); in serializableSettingsFor()
172 MockSettingsImpl<T> mockSettings = new MockSettingsImpl<T>(); in settingsWithConstructorFor()
178 MockSettingsImpl<T> mockSettings = new MockSettingsImpl<T>(); in settingsWithSuperCall()
DSubclassByteBuddyMockMakerTest.java8 import org.mockito.internal.creation.MockSettingsImpl;
57MockSettingsImpl<ClassWithAnnotation> mockSettings = new MockSettingsImpl<ClassWithAnnotation>(); in mock_type_with_annotations()
71MockSettingsImpl<ClassWithAnnotation> mockSettings = new MockSettingsImpl<ClassWithAnnotation>(); in mock_type_without_annotations()
DInlineByteBuddyMockMakerTest.java14 import org.mockito.internal.creation.MockSettingsImpl;
160 MockSettingsImpl<Set> mockSettings = new MockSettingsImpl<Set>(); in should_mock_interface()
170 MockSettingsImpl<Set> mockSettings = new MockSettingsImpl<Set>(); in should_mock_interface_to_string()
326 MockSettingsImpl<T> mockSettings = new MockSettingsImpl<T>(); in settingsFor()
/external/mockito/src/test/java/org/mockito/internal/handler/
DMockHandlerImplTest.java12 import org.mockito.internal.creation.MockSettingsImpl;
47 MockHandlerImpl<?> handler = new MockHandlerImpl(new MockSettingsImpl()); in should_remove_verification_mode_even_when_invalid_matchers()
81 MockSettingsImpl mockSettings = mock(MockSettingsImpl.class); in should_report_bogus_default_answer()
110 MockHandlerImpl<?> handler = new MockHandlerImpl(mock(MockSettingsImpl.class)); in create_handler_with_listeners()
DMockHandlerFactoryTest.java9 import org.mockito.internal.creation.MockSettingsImpl;
32 …MockCreationSettings<?> settings = (MockCreationSettings<?>) new MockSettingsImpl().defaultAnswer(… in handle_result_must_not_be_null_for_primitives()
50 …MockCreationSettings<?> settings = (MockCreationSettings<?>) new MockSettingsImpl().defaultAnswer(… in valid_handle_result_is_permitted()
DInvocationNotifierHandlerTest.java13 import org.mockito.internal.creation.MockSettingsImpl;
55 …(MockCreationSettings<ArrayList<Answer<?>>>) new MockSettingsImpl<ArrayList<Answer<?>>>().invocati… in setUp()
/external/mockito/src/test/java/org/mockito/
DMockitoTest.java15 import org.mockito.internal.creation.MockSettingsImpl;
59 MockSettingsImpl<?> settings = (MockSettingsImpl<?>) Mockito.withSettings(); in shouldStartingMockSettingsContainDefaultBehavior()
/external/mockito/src/test/java/org/mockito/internal/stubbing/
DInvocationContainerImplTest.java8 import org.mockito.internal.creation.MockSettingsImpl;
28 InvocationContainerImpl container = new InvocationContainerImpl( new MockSettingsImpl());
30 new InvocationContainerImpl( (MockCreationSettings) new MockSettingsImpl().stubOnly());
DInvocationContainerImplStubbingTest.java11 import org.mockito.internal.creation.MockSettingsImpl;
35 invocationContainerImpl = new InvocationContainerImpl(new MockSettingsImpl()); in setup()
39 new InvocationContainerImpl( new MockSettingsImpl().stubOnly()); in setup()
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
DReturnsMocks.java8 import org.mockito.internal.creation.MockSettingsImpl;
34 return mockitoCore.mock(clazz, new MockSettingsImpl().defaultAnswer(this)); in returnValueFor()
/external/mockito/src/main/java/org/mockito/internal/
DMockitoCore.java11 import org.mockito.internal.creation.MockSettingsImpl;
64 if (!MockSettingsImpl.class.isInstance(settings)) { in mock()
67 MockSettingsImpl impl = MockSettingsImpl.class.cast(settings); in mock()
/external/mockito/src/test/java/org/mockito/internal/creation/
DMockSettingsImplTest.java24 private MockSettingsImpl<?> mockSettingsImpl = new MockSettingsImpl<Object>();
/external/mockito/src/test/java/org/mockito/internal/verification/
DNoMoreInteractionsTest.java11 import org.mockito.internal.creation.MockSettingsImpl;
92 new InvocationContainerImpl( new MockSettingsImpl()); in noMoreInteractionsExceptionMessageShouldDescribeMock()
/external/mockito/src/main/java/org/mockito/internal/creation/
DMockSettingsImpl.java36 public class MockSettingsImpl<T> extends CreationSettings<T> implements MockSettings, MockCreationS… class
113 public MockSettingsImpl<T> stubOnly() { in stubOnly()
/external/mockito/src/main/java/org/mockito/
DMockito.java11 import org.mockito.internal.creation.MockSettingsImpl;
2955 return new MockSettingsImpl().defaultAnswer(RETURNS_DEFAULTS); in withSettings()