@Test public void shouldParseXmlFile() throws Exception { String xmlFile = "resources/changes/v1/changeList.xml"; XMLChangeList changeList = TestUtils.loadXML(XMLChangeList.class, xmlFile); assertNotNull(changeList); assertEquals(2, changeList.getChangeReferences().size()); assertEquals("change-1.xml", changeList.getChangeReferences().get(0).getFile()); assertEquals("change-2.xml", changeList.getChangeReferences().get(1).getFile()); }
@XmlElement(name = "change", namespace = "http: public List<XMLChangeReference> getChangeReferences() { return changeReferences; }
XMLChangeList { @XmlElement(name = "change", namespace = "http: public List<XMLChangeReference> getChangeReferences() { return changeReferences; } }
XMLChangeList { @XmlElement(name = "change", namespace = "http: public List<XMLChangeReference> getChangeReferences() { return changeReferences; }  }
XMLChangeList { @XmlElement(name = "change", namespace = "http: public List<XMLChangeReference> getChangeReferences() { return changeReferences; }  @XmlElement(name = "change", namespace = "http://firefly.neuland-bfi.de/v1") List<XMLChangeReference> getChangeReferences(); @Override String toString(); }
XMLChangeList { @XmlElement(name = "change", namespace = "http: public List<XMLChangeReference> getChangeReferences() { return changeReferences; }  @XmlElement(name = "change", namespace = "http://firefly.neuland-bfi.de/v1") List<XMLChangeReference> getChangeReferences(); @Override String toString();  }