@Test
public void willCreateAnIogiParameterForEachRequestParameterValue() throws Exception {

	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);
	verify(mockInstantiator).instantiate(any(Target.class), eq(expectedParamters), eq(errors));
}