Package | Description |
---|---|
org.mockito.creation.instance | |
org.mockito.internal.creation.instance |
Modifier and Type | Method and Description |
---|---|
<T> T |
Instantiator.newInstance(java.lang.Class<T> cls)
Creates instance of given class
|
Modifier and Type | Method and Description |
---|---|
private InstantiationException |
ConstructorInstantiator.multipleMatchingConstructors(java.lang.Class<?> cls,
java.util.List<java.lang.reflect.Constructor<?>> constructors) |
private InstantiationException |
ConstructorInstantiator.noMatchingConstructor(java.lang.Class<?> cls) |
private InstantiationException |
ConstructorInstantiator.paramsException(java.lang.Class<?> cls,
java.lang.Exception e) |