@Test
public void existentOverwriteTest() {

    assertTrue(new File(transformedAppFolder, "pom.xml").exists());
    TOExecutionResult executionResult = new PomFile(model).relative("/").overwriteIfPresent().execution(transformedAppFolder, transformationContext);
    assertEquals(executionResult.getType(), TOExecutionResult.Type.SUCCESS);
    assertNull(executionResult.getException());
    assertEquals(executionResult.getWarnings().size(), 0);
    assertEquals(executionResult.getDetails(), "Pom file overwritten at /");
    checkCreatedPomFile("pom.xml");
}