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 FastAlignmentProcessor p = new FastAlignmentProcessor();
p.initialize(outputProcessorMetaData, list,
StrictGeomUtility.toInternalValue(10), StrictGeomUtility.toInternalValue(60), pageGrid, false);
int count = 0;
while (p.hasNext())
{
count += 1;
final RenderBox box = p.next();
assertNotNull(box.getFirstChild());
assertFalse(box.getFirstChild() instanceof SpacerRenderNode);
assertFalse(box.getLastChild() instanceof SpacerRenderNode);
//ModelPrinter.print(box);
}