@Test
public void editPomIfNecessaryTest() {

    String groupId = "groupId";
    String artifactId = "artifactId";
    String version = "version";
    GAV gav = new GAV(groupId, artifactId, version);
    Dependencies dependencies = new Dependencies();
    assertTrue(service.editPomIfNecessary(dependencies, gav));
    assertFalse(service.editPomIfNecessary(dependencies, gav));
}