Searched refs:MockSettingsImpl (Results 1 – 15 of 15) sorted by relevance
10 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()
8 import org.mockito.internal.creation.MockSettingsImpl;57 … MockSettingsImpl<ClassWithAnnotation> mockSettings = new MockSettingsImpl<ClassWithAnnotation>(); in mock_type_with_annotations()71 … MockSettingsImpl<ClassWithAnnotation> mockSettings = new MockSettingsImpl<ClassWithAnnotation>(); in mock_type_without_annotations()
14 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()
12 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()
9 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()
13 import org.mockito.internal.creation.MockSettingsImpl;55 …(MockCreationSettings<ArrayList<Answer<?>>>) new MockSettingsImpl<ArrayList<Answer<?>>>().invocati… in setUp()
15 import org.mockito.internal.creation.MockSettingsImpl;59 MockSettingsImpl<?> settings = (MockSettingsImpl<?>) Mockito.withSettings(); in shouldStartingMockSettingsContainDefaultBehavior()
8 import org.mockito.internal.creation.MockSettingsImpl;28 InvocationContainerImpl container = new InvocationContainerImpl( new MockSettingsImpl());30 new InvocationContainerImpl( (MockCreationSettings) new MockSettingsImpl().stubOnly());
11 import org.mockito.internal.creation.MockSettingsImpl;35 invocationContainerImpl = new InvocationContainerImpl(new MockSettingsImpl()); in setup()39 new InvocationContainerImpl( new MockSettingsImpl().stubOnly()); in setup()
8 import org.mockito.internal.creation.MockSettingsImpl;34 return mockitoCore.mock(clazz, new MockSettingsImpl().defaultAnswer(this)); in returnValueFor()
11 import org.mockito.internal.creation.MockSettingsImpl;64 if (!MockSettingsImpl.class.isInstance(settings)) { in mock()67 MockSettingsImpl impl = MockSettingsImpl.class.cast(settings); in mock()
24 private MockSettingsImpl<?> mockSettingsImpl = new MockSettingsImpl<Object>();
11 import org.mockito.internal.creation.MockSettingsImpl;92 new InvocationContainerImpl( new MockSettingsImpl()); in noMoreInteractionsExceptionMessageShouldDescribeMock()
36 public class MockSettingsImpl<T> extends CreationSettings<T> implements MockSettings, MockCreationS… class113 public MockSettingsImpl<T> stubOnly() { in stubOnly()
11 import org.mockito.internal.creation.MockSettingsImpl;2955 return new MockSettingsImpl().defaultAnswer(RETURNS_DEFAULTS); in withSettings()