@Test
public void testServiceWithSimpleReference() throws Exception {

  ApiConfig config = createConfig(SimpleReferenceEndpoint.class);
  annotationReader.loadEndpointClass(serviceContext, SimpleReferenceEndpoint.class, config);
  // Especially should not be "api4" as provided by the inherited Endpoint4.
  assertEquals("api", config.getName());
}