### Question:
PomChangeDependency extends AbstractArtifactPomOperation<PomChangeDependency> implements ChangeOrRemoveElement<PomChangeDependency> { public PomChangeDependency removeScope() { removeScope = true; return this; } PomChangeDependency();  PomChangeDependency(String groupId, String artifactId); PomChangeDependency setVersion(String version); PomChangeDependency setScope(String scope); PomChangeDependency setType(String type); PomChangeDependency setOptional(); PomChangeDependency removeVersion(); PomChangeDependency removeScope(); PomChangeDependency removeType(); PomChangeDependency removeOptional(); PomChangeDependency failIfNotPresent(); PomChangeDependency warnIfNotPresent(); PomChangeDependency noOpIfNotPresent(); String getVersion(); String getScope(); String getType(); Boolean isOptional(); boolean isRemoveVersion(); boolean isRemoveScope(); boolean isRemoveType(); boolean isRemoveOptional(); @Override String getDescription();  }### Answer:
@Test public void removeScopeTest() throws IOException, XmlPullParserException { PomChangeDependency uut = new PomChangeDependency("org.testng", "testng").relative("pom.xml").removeScope(); assertEquals(getDependencyBeforeChange(uut).getScope(), "test"); executeAndAssertSuccess(uut); assertEquals(getDependencyAfterChange(uut).getScope(), null); }