@Test
public void testLoadInternalConfiguration() throws Exception {

  assertEquals(config, loader.loadInternalConfiguration(serviceContext, endpointClass));
  Mockito.verify(config).setName(ApiConfigLoader.INTERNAL_API_NAME);
  Mockito.verify(annotationSource).loadEndpointMethods(serviceContext, endpointClass, methodsMap);
  Mockito.verifyNoMoreInteractions(annotationSource, datastoreSource);
}