@Test
public void testGetRepository() throws Exception {

  RepositoryInfo repository = metaInfo.getRepository(STACK_NAME_HDP, STACK_VERSION_HDP, OS_TYPE, REPO_ID);
  Assert.assertEquals(repository.getRepoId(), REPO_ID);
  try {
    metaInfo.getRepository(STACK_NAME_HDP, STACK_VERSION_HDP, OS_TYPE, NON_EXT_VALUE);
  } catch (StackAccessException e) {
  }
}