cssOutlineParser.onIterationFinish();
final int outputSize = output.size();
assertEquals("number of nodes", expectedNodes.getKeys().size(), outputSize);
for (int i = 0; i < outputSize; i++) {
OutlineNode node = output.get(i);
String nodeName = node.getName();
assertTrue("unexpected item: [" + nodeName + "]", expectedNodes.contains(nodeName));
}
cssOutlineParser.cleanup();
}