@Test
public void propertyAlreadyPresentOverwriteTest() throws IOException, SAXException, ParserConfigurationException, XmlPullParserException {

    PomAddProperty pomAddProperty = new PomAddProperty("encoding", "bar").relative("pom.xml").overwriteIfPresent();
    TOExecutionResult executionResult = pomAddProperty.execution(transformedAppFolder, transformationContext);
    assertEquals(executionResult.getType(), TOExecutionResult.Type.SUCCESS);
    assertNull(executionResult.getException());
    assertEquals(executionResult.getWarnings().size(), 0);
    Model pomModelAfterChange = getTransformedPomModel("pom.xml");
    assertEquals(pomModelAfterChange.getProperties().size(), 1);
    assertEquals(pomModelAfterChange.getProperties().getProperty("encoding"), "bar");
IXME
ncomment this when STAX based version of this TO is implemented
      assertNotChangedFile("pom.xml");
}