AutoInstanceConfig extends InstanceConfig { public String getStackId() { return stackId; }  String getStackId(); List<String> getServices(); Set<String> getRoles();  }
@Test public void testGetStackId() throws Exception { AutoInstanceConfig config = getAutoInstanceConfigs(VIEW_XML); assertEquals("HDP-2.0", config.getStackId()); }