Searched refs:CreationSettings (Results 1 – 12 of 12) sorted by relevance
22 public class CreationSettings<T> implements MockCreationSettings<T>, Serializable { class42 public CreationSettings() {} in CreationSettings() method in CreationSettings45 public CreationSettings(CreationSettings copy) { in CreationSettings() method in CreationSettings67 public CreationSettings<T> setTypeToMock(Class<T> typeToMock) { in setTypeToMock()77 public CreationSettings<T> setExtraInterfaces(Set<Class<?>> extraInterfaces) { in setExtraInterfaces()101 public CreationSettings<T> setMockName(MockName mockName) { in setMockName()110 public CreationSettings<T> setSerializableMode(SerializableMode serializableMode) { in setSerializableMode()
8 import org.mockito.internal.creation.settings.CreationSettings;36 public class MockSettingsImpl<T> extends CreationSettings<T> implements MockSettings, MockCreationS…226 return validatedSettings(typeToMock, (CreationSettings<T>) this); in build()235 …private static <T> CreationSettings<T> validatedSettings(Class<T> typeToMock, CreationSettings<T> … in validatedSettings()249 CreationSettings<T> settings = new CreationSettings<T>(source); in validatedSettings()256 private static Set<Class<?>> prepareExtraInterfaces(CreationSettings settings) { in prepareExtraInterfaces()
10 import org.mockito.internal.creation.settings.CreationSettings;26 CreationSettings<Object> creationSettings = new CreationSettings<Object>(); in should_delegate_call()
15 import org.mockito.internal.creation.settings.CreationSettings;126 MockCreationSettings<FinalClass> settings = new CreationSettings<FinalClass>() in should_fail_at_creating_a_mock_of_a_final_class_with_explicit_serialization()143 MockCreationSettings<FinalClass> settings = new CreationSettings<FinalClass>() in should_fail_at_creating_a_mock_of_a_final_class_with_extra_interfaces()
10 import org.mockito.internal.creation.settings.CreationSettings;30 CreationSettings creationSettings = mock(CreationSettings.class);
7 import org.mockito.internal.creation.settings.CreationSettings;27 ((CreationSettings) settings).getStubbingLookupListeners().add(stubbingLookupListener); in onMockCreated()
7 import org.mockito.internal.creation.settings.CreationSettings;81 ((CreationSettings) settings).getStubbingLookupListeners().add(stubbingLookupListener); in onMockCreated()
10 import org.mockito.internal.creation.settings.CreationSettings;92 if (mockName.isDefault() && mockSettings instanceof CreationSettings) { in maybeRedefineMockName()93 ((CreationSettings) mockSettings).setMockName(new MockNameImpl(newName)); in maybeRedefineMockName()
10 import org.mockito.internal.creation.settings.CreationSettings;125 …CreationSettings mockSettings = (CreationSettings) MockUtil.getMockHandler(mock).getMockSettings(); in actualParameterizedType()
7 import org.mockito.internal.creation.settings.CreationSettings;18 … Collection<Stubbing> allStubbings, CreationSettings creationSettings) { in notifyStubbedAnswerLookup()
7 import org.mockito.internal.creation.settings.CreationSettings;90 (CreationSettings) mockSettings); in handle()
11 import org.mockito.internal.creation.settings.CreationSettings;273 new CreationSettings() in resolveClass()