@Test
public void testBlock002() throws FOrayException {
final AreaTreeCreator creator = AreaTreeCreator.getInstance();
final AreaTree areaTree = creator.buildAreaTree(
"fo/block-002.fo");
final PageCollection pageCollection = this.getPageCollection(areaTree,
1);
final int numPages = pageCollection.getChildCount();
assertEquals(2, numPages);
final String documentContent = this.getText(areaTree);
final String testString =
" This document is on a short (4 inches high) page, "
+ "and contains one block. "