GroupingRequest { public boolean removeOperatorToUndeploy(int operatorId) { return operatorsToUndeploy.remove(operatorId); } GroupingRequest();  GroupingRequest(EventGroupId groupId); EventGroupId getEventGroupId(); Set<Integer> getOperatorsToDeploy(); Set<Integer> getOperatorsToUndeploy(); Set<String> getAffectedContainers(); void addOperatorToDeploy(int operatorId); boolean removeOperatorToDeploy(int operatorId); void addOperatorToUndeploy(int operatorId); boolean removeOperatorToUndeploy(int operatorId); void addAffectedContainer(String containerId); boolean isProcessed();  }
@Test public void testRemoveOperatorToUndeploy() { int operatorId = 1; underTest.addOperatorToUndeploy(operatorId); Assert.assertTrue(underTest.getOperatorsToUndeploy().contains(operatorId)); underTest.removeOperatorToUndeploy(operatorId); Assert.assertFalse(underTest.getOperatorsToUndeploy().contains(operatorId)); }