// set (and will not be set again)
asr = (AlgoSelectionRegistry) SimSystem.getRegistry();
}
public void testParameterBlockCopying() {
ParameterBlock first = new ParameterBlock();
first.addSubBl("B", new ParameterBlock());
ParameterBlock second = new ParameterBlock("A");
second.addSubBl("B", new ParameterBlock("C"));
second.addSubBl("C", new ParameterBlock("D"));
AlgoSelectionRegistry.copyValues(first, second);
assertEquals("A", first.getValue());
assertEquals(2, first.getSubBlocks().size());