@Test
public void testArrayOfArraysParameter() throws Exception {

  config.getApiClassConfig().getMethods()
      .get(methodToEndpointMethod(TestEndpoint.class.getMethod("getResultNoParams")))
      .addParameter("param", null, false, null, TypeToken.of(Integer[][].class));
  try {
    validator.validate(config);
    fail("Expected NestedCollectionException.");
  } catch (NestedCollectionException expected) {
  }
}