ApiConfigLoader { public boolean isStaticConfig(ApiConfig config) { for (ApiConfigSource apiConfigSource : apiConfigSources) { if (!apiConfigSource.isStaticConfig(config)) { return false; } } return true; } ApiConfigLoader(ApiConfig.Factory configFactory, TypeLoader typeLoader,
      ApiConfigAnnotationReader annotationSource, ApiConfigSource... apiConfigSources);  ApiConfigLoader(); ApiConfig loadConfiguration(ServiceContext serviceContext, Class<?> endpointClass); ApiConfig loadInternalConfiguration(ServiceContext serviceContext,
      Class<?> endpointClass); boolean isStaticConfig(ApiConfig config); ApiConfig reloadConfiguration(ServiceContext serviceContext, Class<?> endpointClass,
      ApiConfig oldConfig); static final String INTERNAL_API_NAME; }
@Test public void testIsStaticConfig_true() { Mockito.when(datastoreSource.isStaticConfig(config)).thenReturn(true); assertTrue(loader.isStaticConfig(config)); Mockito.verify(annotationSource, never()).isStaticConfig(config); }
@Test public void testIsStaticConfig_false() { Mockito.when(datastoreSource.isStaticConfig(config)).thenReturn(false); assertFalse(loader.isStaticConfig(config)); Mockito.verify(annotationSource, never()).isStaticConfig(config); }