@Test
public void removesElementOnMatch2() throws IOException {

    String xpath = "//*[name()='jaxrs:server']";
    XmlXPathReplace xmlElement = new XmlXPathReplace(xpath).relative("foo.xml");
    TOExecutionResult executionResult = xmlElement.execution(transformedAppFolder, transformationContext);
    Assert.assertEquals(executionResult.getType(), TOExecutionResult.Type.SUCCESS);
    Assert.assertNotNull(executionResult.getDetails());
    assertChangedFile("foo.xml");
}