Package org.mockito.creation.instance
Interface Instantiator
-
- All Known Implementing Classes:
ConstructorInstantiator
,InlineByteBuddyMockMaker
,InlineDelegateByteBuddyMockMaker
,ObjenesisInstantiator
public interface Instantiator
Provides instances of classes. See more information about Mockito pluginInstantiatorProvider2
- Since:
- 2.15.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
newInstance(java.lang.Class<T> cls)
Creates instance of given class
-