Uses of Interface
org.mockito.mock.MockCreationSettings
-
Packages that use MockCreationSettings Package Description org.mockito.internal Internal classes, not to be used by clients.org.mockito.internal.creation Mock object creation.org.mockito.internal.creation.cglib CGLIB related stufforg.mockito.internal.creation.instance org.mockito.internal.creation.settings org.mockito.internal.handler org.mockito.internal.stubbing Stubbing logic.org.mockito.internal.util Static utilsorg.mockito.plugins Mockito plugins allow customization of behavior. -
-
Uses of MockCreationSettings in org.mockito.internal
Methods in org.mockito.internal that return MockCreationSettings Modifier and Type Method Description MockCreationSettings
InternalMockHandler. getMockSettings()
-
Uses of MockCreationSettings in org.mockito.internal.creation
Classes in org.mockito.internal.creation that implement MockCreationSettings Modifier and Type Class Description class
MockSettingsImpl<T>
Methods in org.mockito.internal.creation that return MockCreationSettings Modifier and Type Method Description MockCreationSettings<T>
MockSettingsImpl. confirm(java.lang.Class<T> typeToMock)
-
Uses of MockCreationSettings in org.mockito.internal.creation.cglib
Methods in org.mockito.internal.creation.cglib with parameters of type MockCreationSettings Modifier and Type Method Description <T> T
CglibMockMaker. createMock(MockCreationSettings<T> settings, MockHandler handler)
void
CglibMockMaker. resetMock(java.lang.Object mock, MockHandler newHandler, MockCreationSettings settings)
-
Uses of MockCreationSettings in org.mockito.internal.creation.instance
Methods in org.mockito.internal.creation.instance with parameters of type MockCreationSettings Modifier and Type Method Description Instantiator
InstantiatorProvider. getInstantiator(MockCreationSettings settings)
-
Uses of MockCreationSettings in org.mockito.internal.creation.settings
Classes in org.mockito.internal.creation.settings that implement MockCreationSettings Modifier and Type Class Description class
CreationSettings<T>
by Szczepan Faber, created at: 4/9/12 -
Uses of MockCreationSettings in org.mockito.internal.handler
Methods in org.mockito.internal.handler with parameters of type MockCreationSettings Modifier and Type Method Description InternalMockHandler
MockHandlerFactory. create(MockCreationSettings settings)
-
Uses of MockCreationSettings in org.mockito.internal.stubbing
Constructors in org.mockito.internal.stubbing with parameters of type MockCreationSettings Constructor Description InvocationContainerImpl(MockingProgress mockingProgress, MockCreationSettings mockSettings)
-
Uses of MockCreationSettings in org.mockito.internal.util
Methods in org.mockito.internal.util that return MockCreationSettings Modifier and Type Method Description MockCreationSettings
MockUtil. getMockSettings(java.lang.Object mock)
Methods in org.mockito.internal.util with parameters of type MockCreationSettings Modifier and Type Method Description <T> T
MockUtil. createMock(MockCreationSettings<T> settings)
-
Uses of MockCreationSettings in org.mockito.plugins
Methods in org.mockito.plugins with parameters of type MockCreationSettings Modifier and Type Method Description <T> T
MockMaker. createMock(MockCreationSettings<T> settings, MockHandler handler)
If you want to provide your own implementation ofMockMaker
this method should: Create a proxy object that implementssettings.typeToMock
and potentially alsosettings.extraInterfaces
. You may use the information fromsettings
to create/configure your proxy object. Your proxy object should carry thehandler
with it.void
MockMaker. resetMock(java.lang.Object mock, MockHandler newHandler, MockCreationSettings settings)
Replaces the existing handler onmock
withnewHandler
.
-