GroupingRequest { public void addAffectedContainer(String containerId) { affectedContainers.add(containerId); } 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 testAddAffectedContainer() { String affectedContainerId = "container_000001"; underTest.addAffectedContainer(affectedContainerId); Assert.assertTrue(underTest.getAffectedContainers().contains(affectedContainerId)); }