@Test public void shouldParseChangeContent() throws Exception { String xmlFile = "resources/changes/v1/changeDescription-details.xml"; XMLChange change = loadXML(xmlFile, 1); assertEquals("print(ctx.getBeanDefinitionNames());", change.getChangeContent()); }
@XmlValue public String getChangeContent() { return changeContent; }
XMLChange { @XmlValue public String getChangeContent() { return changeContent; } }
XMLChange { @XmlValue public String getChangeContent() { return changeContent; }  }
XMLChange { @XmlValue public String getChangeContent() { return changeContent; }  @XmlAttribute String getFile(); void setFile(String file); @XmlAttribute String getAuthor(); void setAuthor(String author); @XmlAttribute String getId(); void setId(String id); @XmlAttribute String getDescription(); void setDescription(String description); @XmlValue String getChangeContent(); void setChangeContent(String changeContent); @XmlAttribute @XmlIDREF XMLPrecondition getPrecondition(); void setPrecondition(XMLPrecondition precondition); @XmlAttribute XMLPreconditionBehaviour getOnPreconditionFail(); void setOnPreconditionFail(XMLPreconditionBehaviour onPreconditionFail); @Override String toString(); }
XMLChange { @XmlValue public String getChangeContent() { return changeContent; }  @XmlAttribute String getFile(); void setFile(String file); @XmlAttribute String getAuthor(); void setAuthor(String author); @XmlAttribute String getId(); void setId(String id); @XmlAttribute String getDescription(); void setDescription(String description); @XmlValue String getChangeContent(); void setChangeContent(String changeContent); @XmlAttribute @XmlIDREF XMLPrecondition getPrecondition(); void setPrecondition(XMLPrecondition precondition); @XmlAttribute XMLPreconditionBehaviour getOnPreconditionFail(); void setOnPreconditionFail(XMLPreconditionBehaviour onPreconditionFail); @Override String toString();  }