Package org.mockito.creation.instance
Interface Instantiator
public interface Instantiator
Provides instances of classes.
See more information about Mockito plugin
InstantiatorProvider2
- Since:
- 2.15.4
-
Method Summary
Modifier and TypeMethodDescription<T> T
newInstance
(Class<T> cls) Creates instance of given class
-
Method Details
-
newInstance
Creates instance of given class- Since:
- 2.15.4
-