org.mockito.internal.creation.instance
public interface Instantiator
Modifier and Type | Method and Description |
---|---|
<T> T |
newInstance(Class<T> cls)
Creates instance of given class
|
<T> T newInstance(Class<T> cls) throws InstantiationException
InstantiationException