@Test
public void testGetServices() throws Exception {

  AutoInstanceConfig config = getAutoInstanceConfigs(VIEW_XML);
  List<String> serviceNames = config.getServices();
  assertEquals(2, serviceNames.size());
  assertTrue(serviceNames.contains("HIVE"));
  assertTrue(serviceNames.contains("HDFS"));
}