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

	PomRemoveManagedDependency uut = new PomRemoveManagedDependency("com.test", "not-present").relative("pom.xml").warnIfNotPresent();
	assertNull(getManagedDependencyBeforeChange(uut));
	TOExecutionResult executionResult = uut.execution(transformedAppFolder, transformationContext);
	assertEquals(executionResult.getType(), TOExecutionResult.Type.WARNING);
	assertNull(executionResult.getException());
	assertEquals(executionResult.getWarnings().get(0).getClass(), TransformationOperationException.class);
	assertEquals(executionResult.getWarnings().get(0).getMessage(), MANAGED_DEPENDENCY_NOT_REMOVED_MSG);
/ FIXME
/ Uncomment this when STAX based version of this TO is implemented
/        assertNotChangedFile("pom.xml");
}