SimpleReplacementStrategy extends JoinOperator { public void setOperation(Operation op) { this.replacementOperation = (ReplacementOperation)op; } SimpleReplacementStrategy(RandomNumberGenerator rng, Population incPop, ReplacementOperation rO);  SimpleReplacementStrategy(); void perform(); void setOperation(Operation op); Operation getOperation();  }
@Test public void testSetOperation() { System.out.println("* SimpleReplacementStrategy: setOperation"); Operation op = new ReplacementOperation(1); SimpleReplacementStrategy instance = new SimpleReplacementStrategy(); instance.setOperation(op); assertEquals(true, instance.replacementOperation instanceof ReplacementOperation); }