assertEquals(0, this.viewportLayer.getRowCount());
}
@Test
public void scrollVerticallyByAPageCommand() throws Exception {
ScrollSelectionCommand scrollCommand = new ScrollSelectionCommandFixture();
MoveSelectionCommand command = new MoveSelectionCommand(
scrollCommand.getDirection(), this.viewportLayer.getRowCount(),
scrollCommand.isShiftMask(), scrollCommand.isControlMask());
assertEquals(MoveDirectionEnum.DOWN, command.getDirection());
assertEquals(2, command.getStepSize().intValue());
}