assertTrue(stackNames.contains(new Stack(STACK_NAME_HDP)));
}
@Test
public void testGetStack() throws Exception {
Stack stack = metaInfo.getStack(STACK_NAME_HDP);
Assert.assertEquals(stack.getStackName(), STACK_NAME_HDP);
try {
metaInfo.getStack(NON_EXT_VALUE);
} catch (StackAccessException e) {
Assert.assertTrue(e instanceof StackAccessException);
}