@Test public void testGetStringDataAsList_shouldFindDeepNested() throws Exception { final List<String> strings = XmlUtils.getStringDataAsList(testDoc, "aw:Comment", null, null); assertThat(strings.size()).isEqualTo(2); assertThat(strings.get(0)).isEqualTo("Confirm this is electric"); assertThat(strings.get(1)).isEqualTo("this thing breaks all the time"); }
static List<String> getStringDataAsList(final Document vastDoc, final String elementName) { return getStringDataAsList(vastDoc, elementName, null, null); }
XmlUtils { static List<String> getStringDataAsList(final Document vastDoc, final String elementName) { return getStringDataAsList(vastDoc, elementName, null, null); } }
XmlUtils { static List<String> getStringDataAsList(final Document vastDoc, final String elementName) { return getStringDataAsList(vastDoc, elementName, null, null); } private  XmlUtils(); }
XmlUtils { static List<String> getStringDataAsList(final Document vastDoc, final String elementName) { return getStringDataAsList(vastDoc, elementName, null, null); } private  XmlUtils();  }
XmlUtils { static List<String> getStringDataAsList(final Document vastDoc, final String elementName) { return getStringDataAsList(vastDoc, elementName, null, null); } private  XmlUtils();   }