Class InstantiatorProviderAdapter
java.lang.Object
org.mockito.internal.creation.instance.InstantiatorProviderAdapter
- All Implemented Interfaces:
InstantiatorProvider2
Adapts old, deprecated
InstantiatorProvider onto a new public InstantiatorProvider2 API.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInstantiator(MockCreationSettings<?> settings) Returns an instantiator, used to create new class instances.
-
Field Details
-
provider
-
-
Constructor Details
-
InstantiatorProviderAdapter
-
-
Method Details
-
getInstantiator
Description copied from interface:InstantiatorProvider2Returns an instantiator, used to create new class instances.- Specified by:
getInstantiatorin interfaceInstantiatorProvider2
-