@Test
public void testGetService() throws Exception {

  ServiceInfo service = metaInfo.getService(STACK_NAME_HDP, STACK_VERSION_HDP, SERVICE_NAME_HDFS);
  Assert.assertEquals(service.getName(), SERVICE_NAME_HDFS);
  try {
    metaInfo.getService(STACK_NAME_HDP, STACK_VERSION_HDP, NON_EXT_VALUE);
  } catch (StackAccessException e) {
  }
}