@Test
public void testServiceWithOverridingInterfaceReference() throws Exception {

  ApiConfig config = createConfig(InterfaceReferenceEndpoint.class);
  annotationReader.loadEndpointClass(serviceContext, InterfaceReferenceEndpoint.class, config);
  assertEquals("interfaceBasedApi", config.getName());
  assertEquals("v2", config.getVersion());
}