}
public void testComplexCase2()
{
final DefaultSequenceList list = new DefaultSequenceList();
list.add(StartSequenceElement.INSTANCE, new InlineRenderBox());
list.add(TextSequenceElement.INSTANCE, createText("Test"));
list.add(SpacerSequenceElement.INSTANCE, new SpacerRenderNode
(StrictGeomUtility.toInternalValue(10), StrictGeomUtility.toInternalValue(10), false, 1));
list.add(TextSequenceElement.INSTANCE, createText("Test"));
list.add(SpacerSequenceElement.INSTANCE, new SpacerRenderNode
(StrictGeomUtility.toInternalValue(10), StrictGeomUtility.toInternalValue(10), false, 1));
list.add(TextSequenceElement.INSTANCE, createText("Test"));
list.add(SpacerSequenceElement.INSTANCE, new SpacerRenderNode
(StrictGeomUtility.toInternalValue(10), StrictGeomUtility.toInternalValue(10), false, 1));
list.add(TextSequenceElement.INSTANCE, createText("Test"));
list.add(SpacerSequenceElement.INSTANCE, new SpacerRenderNode
(StrictGeomUtility.toInternalValue(10), StrictGeomUtility.toInternalValue(10), false, 1));
list.add(TextSequenceElement.INSTANCE, createText("Test"));
list.add(SpacerSequenceElement.INSTANCE, new SpacerRenderNode
(StrictGeomUtility.toInternalValue(10), StrictGeomUtility.toInternalValue(10), false, 1));
list.add(TextSequenceElement.INSTANCE, createText("Test"));
list.add(SpacerSequenceElement.INSTANCE, new SpacerRenderNode
(StrictGeomUtility.toInternalValue(10), StrictGeomUtility.toInternalValue(10), false, 1));
list.add(TextSequenceElement.INSTANCE, createText("Test"));
list.add(SpacerSequenceElement.INSTANCE, new SpacerRenderNode
(StrictGeomUtility.toInternalValue(10), StrictGeomUtility.toInternalValue(10), false, 1));
list.add(TextSequenceElement.INSTANCE, createText("Test"));
list.add(EndSequenceElement.INSTANCE, new InlineRenderBox());
final CenterAlignmentProcessor p = new CenterAlignmentProcessor();
p.initialize(outputProcessorMetaData, list,
StrictGeomUtility.toInternalValue(10), StrictGeomUtility.toInternalValue(60), pageGrid, false);
int count = 0;