@Test
public void testCollectionOfArrays() throws Exception {

  @Api
  class NestedCollections {
    @SuppressWarnings("unused")
    public void foo(@Named("authors") List<String[]> authors) {}
  }
  try {
    g.generateConfig(NestedCollections.class).get("myapi-v1.api");
    fail("Nested collections should fail");
  } catch (NestedCollectionException expected) {
    // expected
  }
}