}
public static void assertRetainLine(int expectedRetainLineCount, DocOp op, int index) {
DocOpComponent component = op.getComponents().get(index);
assertEquals(RETAIN_LINE, component.getType());
RetainLine retainLine = (RetainLine) component;
assertEquals(expectedRetainLineCount, retainLine.getLineCount());
}