@Test
public void testEndpointWithNoPublicMethods() throws Exception {

  ApiConfig config = createConfig(Endpoint2.class);
  annotationReader.loadEndpointMethods(serviceContext, Endpoint2.class,
      config.getApiClassConfig().getMethods());
  assertEquals(0, config.getApiClassConfig().getMethods().size());
}