@Test
public void moduleAlreadyPresentNoOpTest() throws IOException {

    PomAddModule pomAddModule = new PomAddModule("module1").relative("pom.xml").noOpIfPresent();
    TOExecutionResult executionResult = pomAddModule.execution(transformedAppFolder, transformationContext);
    assertEquals(executionResult.getType(), TOExecutionResult.Type.NO_OP);
    assertNull(executionResult.getException());
    assertEquals(executionResult.getDetails(), "Module module1 was not added to POM file pom.xml because it is already present");
    assertNotChangedFile("pom.xml");
}