@Test
public void getDirectory() throws Exception {

  DirectoryList directory = provider.getDirectory(ROOT);
  assertThat(directory.getItems().get(0).getDiscoveryRestUrl())
      .isEqualTo("https://root.appspot.com/api/discovery/v1/apis/foo/v1/rest");
}