@Test public void testTagOnlyOneNodeHave() throws IOException { InputStream is = new ByteArrayInputStream(xml.getBytes()); AwsConfig awsConfig = new AwsConfig(); awsConfig.setAccessKey(""); awsConfig.setSecretKey(""); awsConfig.setSecurityGroupName("hazelcast"); awsConfig.setTagKey("name"); awsConfig.setTagValue(""); List<String> result = (List<String>) CloudyUtility.unmarshalTheResponse(is, awsConfig); assertEquals(1, result.size()); }
public static Object unmarshalTheResponse(InputStream stream, AwsConfig awsConfig) throws IOException { Object o = parse(stream, awsConfig); return o; }
CloudyUtility { public static Object unmarshalTheResponse(InputStream stream, AwsConfig awsConfig) throws IOException { Object o = parse(stream, awsConfig); return o; } }
CloudyUtility { public static Object unmarshalTheResponse(InputStream stream, AwsConfig awsConfig) throws IOException { Object o = parse(stream, awsConfig); return o; }  }
CloudyUtility { public static Object unmarshalTheResponse(InputStream stream, AwsConfig awsConfig) throws IOException { Object o = parse(stream, awsConfig); return o; }  static String getQueryString(Map<String, String> attributes); static Object unmarshalTheResponse(InputStream stream, AwsConfig awsConfig); }
CloudyUtility { public static Object unmarshalTheResponse(InputStream stream, AwsConfig awsConfig) throws IOException { Object o = parse(stream, awsConfig); return o; }  static String getQueryString(Map<String, String> attributes); static Object unmarshalTheResponse(InputStream stream, AwsConfig awsConfig);  }