org.mockito.internal.util.reflection
public static interface FieldInitializer.ConstructorArgumentResolver
Modifier and Type | Method and Description |
---|---|
Object[] |
resolveTypeInstances(Class<?>... argTypes)
Try to resolve instances from types.
|
Object[] resolveTypeInstances(Class<?>... argTypes)
Checks on the real argument type or on the correct argument number
will happen during the field initialization FieldInitializer.initialize()
.
I.e the only responsibility of this method, is to provide instances if possible.
argTypes
- Constructor argument types, should not be null.