@Test
public void testEndpointWithUnnamedParameterTypes() throws Exception {

  try {
    g.generateConfig(TestUnnamedParameterType.class);
    fail("Config generation for service class with unnamed parameter type should have failed");
  } catch (MissingParameterNameException e) {
    // expected
  }
}