Class ConstructorInstantiator
- java.lang.Object
-
- org.mockito.internal.creation.instance.ConstructorInstantiator
-
- All Implemented Interfaces:
Instantiator
public class ConstructorInstantiator extends java.lang.Object implements Instantiator
-
-
Constructor Summary
Constructors Constructor Description ConstructorInstantiator(java.lang.Object outerClassInstance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
newInstance(java.lang.Class<T> cls)
Creates instance of given class
-
-
-
Method Detail
-
newInstance
public <T> T newInstance(java.lang.Class<T> cls)
Description copied from interface:Instantiator
Creates instance of given class- Specified by:
newInstance
in interfaceInstantiator
-
-