Skip to content
Snippets Groups Projects
Commit b4e47a8d authored by Christian Wulf's avatar Christian Wulf
Browse files

changed remove() to contains()

parent 0b650cee
No related branches found
No related tags found
No related merge requests found
package teetime.framework;
import org.junit.Assert;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import teetime.stage.Clock;
......@@ -26,8 +27,8 @@ public class AnalysisConfigurationTest {
config.addThreadableStage(producer);
config.init();
Assert.assertTrue(config.getConsumerStages().remove(counter));
Assert.assertTrue(config.getInfiniteProducerStages().remove(clock));
Assert.assertTrue(config.getFiniteProducerStages().remove(producer));
assertTrue(config.getConsumerStages().contains(counter));
assertTrue(config.getInfiniteProducerStages().contains(clock));
assertTrue(config.getFiniteProducerStages().contains(producer));
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment