Uses of Interface
org.mockito.MockedConstruction
Packages that use MockedConstruction
Package
Description
Mockito is a mock library for java - see
Mockito
class for usage.Internal classes, not to be used by clients.
-
Uses of MockedConstruction in org.mockito
Methods in org.mockito that return MockedConstructionModifier and TypeMethodDescriptionstatic <T> MockedConstruction<T>
Mockito.mockConstruction
(Class<T> classToMock) Creates a thread-local mock controller for all constructions of the given class.static <T> MockedConstruction<T>
Mockito.mockConstruction
(Class<T> classToMock, Function<MockedConstruction.Context, MockSettings> mockSettingsFactory) Creates a thread-local mock controller for all constructions of the given class.static <T> MockedConstruction<T>
Mockito.mockConstruction
(Class<T> classToMock, Function<MockedConstruction.Context, MockSettings> mockSettingsFactory, MockedConstruction.MockInitializer<T> mockInitializer) Creates a thread-local mock controller for all constructions of the given class.static <T> MockedConstruction<T>
Mockito.mockConstruction
(Class<T> classToMock, MockedConstruction.MockInitializer<T> mockInitializer) Creates a thread-local mock controller for all constructions of the given class.static <T> MockedConstruction<T>
Mockito.mockConstruction
(Class<T> classToMock, MockSettings mockSettings) Creates a thread-local mock controller for all constructions of the given class.static <T> MockedConstruction<T>
Mockito.mockConstruction
(Class<T> classToMock, MockSettings mockSettings, MockedConstruction.MockInitializer<T> mockInitializer) Creates a thread-local mock controller for all constructions of the given class.static <T> MockedConstruction<T>
Mockito.mockConstructionWithAnswer
(Class<T> classToMock, Answer defaultAnswer, Answer... additionalAnswers) Creates a thread-local mock controller for all constructions of the given class. -
Uses of MockedConstruction in org.mockito.internal
Classes in org.mockito.internal that implement MockedConstructionMethods in org.mockito.internal that return MockedConstructionModifier and TypeMethodDescription<T> MockedConstruction<T>
MockitoCore.mockConstruction
(Class<T> typeToMock, Function<MockedConstruction.Context, ? extends MockSettings> settingsFactory, MockedConstruction.MockInitializer<T> mockInitializer)