ResourceMethod anyMethod = buyA;
requestParameterIs(anyMethod, "name", "a", "b");
final InstantiatorWithErrors mockInstantiator = mock(InstantiatorWithErrors.class);
final Parameters expectedParamters = new Parameters(
Arrays.asList(new Parameter("name", "a"), new Parameter("name", "b")));
IogiParametersProvider iogiProvider = new IogiParametersProvider(nameProvider, request, mockInstantiator);
iogiProvider.getParametersFor(anyMethod, errors, null);