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

    PomAddManagedDependency uut = new PomAddManagedDependency("org.testng", "testng", "1.1").relative("pom.xml");
    String description = uut.getDescription();
    Assert.assertEquals(description, "Add managed dependency org.testng:testng:1.1 to POM file pom.xml");
}