}
@Then("^the generated XML should be:$")
public void the_generated_XML_should_be(String expectedXML) throws IOException {
StringWriter writer = new StringWriter();
new XmlGenerator(writer).generate(data.getCoverageData());
assertEquals(expectedXML, writer.toString());
}