GroupingRequest { public void addOperatorToDeploy(int operatorId) { operatorsToDeploy.add(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 testAddOperatorToDeploy() { int operatorId = 1; underTest.addOperatorToDeploy(operatorId); Assert.assertTrue(underTest.getOperatorsToDeploy().contains(operatorId)); }