@Test
public void getRestDocument_uninitialized() throws Exception {

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