@Test
public void getApiList_uninitialized() throws Exception {

  try {
    ProxyingDiscoveryService discoveryService = createDiscoveryService(false);
    discoveryService.getApiList(null /* request */);
    fail("expected InternalServerErrorException");
  } catch (InternalServerErrorException e) {
    // expected
  }
}