public class DefaultInstantiatorProvider extends java.lang.Object implements InstantiatorProvider2
Modifier and Type | Field and Description |
---|---|
private static Instantiator |
INSTANCE |
Constructor and Description |
---|
DefaultInstantiatorProvider() |
Modifier and Type | Method and Description |
---|---|
Instantiator |
getInstantiator(MockCreationSettings<?> settings)
Returns an instantiator, used to create new class instances.
|
private static final Instantiator INSTANCE
public Instantiator getInstantiator(MockCreationSettings<?> settings)
InstantiatorProvider2
getInstantiator
in interface InstantiatorProvider2