public final class FixtureResourceParameterResolverFactory extends Object implements ParameterResolverFactory
Because of this behavior, it is important that any resource resolvers doing actual resolution are executed before this instance.
| Constructor and Description |
|---|
FixtureResourceParameterResolverFactory() |
| Modifier and Type | Method and Description |
|---|---|
ParameterResolver |
createInstance(Executable executable,
Parameter[] parameters,
int parameterIndex)
If available, creates a ParameterResolver instance that can provide a parameter of type
parameterType for a given message. |
public FixtureResourceParameterResolverFactory()
public ParameterResolver createInstance(Executable executable, Parameter[] parameters, int parameterIndex)
ParameterResolverFactoryparameterType for a given message.
If the ParameterResolverFactory cannot provide a suitable ParameterResolver, returns null.
createInstance in interface ParameterResolverFactoryexecutable - The executable (constructor or method) to inspectparameters - The parameters on the executable to inspectparameterIndex - The index of the parameter to return a ParameterResolver fornull if none is foundCopyright © 2010–2020. All rights reserved.