@Test
public void warnNotAddIfPresentTest() throws IOException, XmlPullParserException {

    PomAddDependency uut = new PomAddDependency("xmlunit", "xmlunit", "1.7").relative("pom.xml").warnNotAddIfPresent();
    TOExecutionResult executionResult = uut.execution(transformedAppFolder, transformationContext);
    Assert.assertEquals(executionResult.getType(), TOExecutionResult.Type.WARNING);
    Assert.assertNull(executionResult.getException());
    Dependency dependencyAfterChange = getDependencyInList(getTransformedPomModel("pom.xml"), "xmlunit", "xmlunit", "1.7");
    Assert.assertNull(dependencyAfterChange);
IXME
ncomment this when STAX based version of this TO is implemented
      assertNotChangedFile("pom.xml");
}