ParameterBlock afBlock2 =
testBlock.addSubBlock("a", o).addSubBlock(PATH_ABSTRACT_FACTORY, o);
afBlock2.addSubBlock(NAME_PARAMETER, o).addSubBlock("b", o);
Integer newParam = new Integer(23);
OverallParamBlockUpdate update =
new OverallParamBlockUpdate(PATH_ABSTRACT_FACTORY, NAME_PARAMETER,
newParam);
update.update(testBlock);
assertTrue(afBlock1.hasSubBlock(NAME_PARAMETER));
assertTrue(afBlock2.hasSubBlock(NAME_PARAMETER));
assertEquals(23, afBlock1.getSubBlockValue(NAME_PARAMETER));
assertEquals(23, afBlock2.getSubBlockValue(NAME_PARAMETER));