Searched refs:CreationSettings (Results 1 – 10 of 10) sorted by relevance
20 public class CreationSettings<T> implements MockCreationSettings<T>, Serializable { class36 public CreationSettings() {} in CreationSettings() method in CreationSettings39 public CreationSettings(CreationSettings copy) { in CreationSettings() method in CreationSettings57 public CreationSettings<T> setTypeToMock(Class<T> typeToMock) { in setTypeToMock()66 public CreationSettings<T> setExtraInterfaces(Set<Class<?>> extraInterfaces) { in setExtraInterfaces()87 public CreationSettings<T> setMockName(MockName mockName) { in setMockName()96 public CreationSettings<T> setSerializableMode(SerializableMode serializableMode) { in setSerializableMode()
10 import org.mockito.internal.creation.settings.CreationSettings;28 public class MockSettingsImpl<T> extends CreationSettings<T> implements MockSettings, MockCreationS…165 …private static <T> CreationSettings<T> validatedSettings(Class<T> typeToMock, CreationSettings<T> … in validatedSettings()178 CreationSettings<T> settings = new CreationSettings<T>(source); in validatedSettings()185 private static Set<Class<?>> prepareExtraInterfaces(CreationSettings settings) { in prepareExtraInterfaces()
6 import org.mockito.internal.creation.settings.CreationSettings;22 CreationSettings<Object> creationSettings = new CreationSettings<Object>(); in should_delegate_call()
11 import org.mockito.internal.creation.settings.CreationSettings;117 MockCreationSettings<FinalClass> settings = new CreationSettings<FinalClass>() in should_fail_at_creating_a_mock_of_a_final_class_with_explicit_serialization()134 MockCreationSettings<FinalClass> settings = new CreationSettings<FinalClass>() in should_fail_at_creating_a_mock_of_a_final_class_with_extra_interfaces()
3 import org.mockito.internal.creation.settings.CreationSettings;23 ((CreationSettings) settings).getStubbingLookupListeners().add(stubbingLookupListener); in onMockCreated()
3 import org.mockito.internal.creation.settings.CreationSettings;78 ((CreationSettings) settings).getStubbingLookupListeners().add(stubbingLookupListener); in onMockCreated()
13 import org.mockito.internal.creation.settings.CreationSettings;82 if (mockName.isDefault() && mockSettings instanceof CreationSettings) { in maybeRedefineMockName()83 ((CreationSettings) mockSettings).setMockName(new MockNameImpl(newName)); in maybeRedefineMockName()
11 import org.mockito.internal.creation.settings.CreationSettings;125 …CreationSettings mockSettings = (CreationSettings) MockUtil.getMockHandler(mock).getMockSettings(); in actualParameterizedType()
9 import org.mockito.internal.creation.settings.CreationSettings;132 …List<StubbingLookupListener> listeners = ((CreationSettings) mockSettings).getStubbingLookupListen… in notifyStubbedAnswerLookup()
11 import org.mockito.internal.creation.settings.CreationSettings;273 new CreationSettings() in resolveClass()