@Test public void getDescriptionTest() { PomRemoveManagedDependency uut = new PomRemoveManagedDependency("org.testng", "testng").relative("pom.xml"); String description = uut.getDescription(); assertEquals(description, "Remove managed dependency org.testng:testng from POM file pom.xml"); }
@Override public String getDescription() { return String.format(DESCRIPTION, groupId, artifactId, getRelativePath()); }
PomRemoveManagedDependency extends AbstractArtifactPomOperation<PomRemoveManagedDependency> implements ChangeOrRemoveElement<PomRemoveManagedDependency> { @Override public String getDescription() { return String.format(DESCRIPTION, groupId, artifactId, getRelativePath()); } }
PomRemoveManagedDependency extends AbstractArtifactPomOperation<PomRemoveManagedDependency> implements ChangeOrRemoveElement<PomRemoveManagedDependency> { @Override public String getDescription() { return String.format(DESCRIPTION, groupId, artifactId, getRelativePath()); } PomRemoveManagedDependency();  PomRemoveManagedDependency(String groupId, String artifactId); }
PomRemoveManagedDependency extends AbstractArtifactPomOperation<PomRemoveManagedDependency> implements ChangeOrRemoveElement<PomRemoveManagedDependency> { @Override public String getDescription() { return String.format(DESCRIPTION, groupId, artifactId, getRelativePath()); } PomRemoveManagedDependency();  PomRemoveManagedDependency(String groupId, String artifactId); @Override PomRemoveManagedDependency failIfNotPresent(); @Override PomRemoveManagedDependency warnIfNotPresent(); @Override PomRemoveManagedDependency noOpIfNotPresent(); @Override String getDescription(); }
PomRemoveManagedDependency extends AbstractArtifactPomOperation<PomRemoveManagedDependency> implements ChangeOrRemoveElement<PomRemoveManagedDependency> { @Override public String getDescription() { return String.format(DESCRIPTION, groupId, artifactId, getRelativePath()); } PomRemoveManagedDependency();  PomRemoveManagedDependency(String groupId, String artifactId); @Override PomRemoveManagedDependency failIfNotPresent(); @Override PomRemoveManagedDependency warnIfNotPresent(); @Override PomRemoveManagedDependency noOpIfNotPresent(); @Override String getDescription();  }