@Test(expected=IllegalArgumentException.class)
public void shouldThrowExceptionWhenThereIsAParameterContainingDotClass() throws Exception {

	when(request.getParameterNames()).thenReturn(Collections.enumeration(Arrays.asList("someParam.class.id", "unrelatedParam")));
	when(request.getParameterValues("someParam.class.id")).thenReturn(new String[] {"whatever"});
	instantiator.intercept(stack, method, null);
}