when(request.getParameterNames()).thenReturn(enumeration(asList("someParam[].id", "unrelatedParam")));
when(request.getParameterValues("someParam[].id")).thenReturn(new String[] {"one", "two", "three"});
when(parametersProvider.getParametersFor(otherMethod, errors)).thenReturn(new Object[1]);
methodInfo.setControllerMethod(otherMethod);
instantiator.instantiate(new InterceptorsReady(otherMethod));
verify(request).setParameter("someParam[0].id", "one");
verify(request).setParameter("someParam[1].id", "two");
verify(request).setParameter("someParam[2].id", "three");
}