this.selectionLayer.setSelectedCell(9, 4);
assertEquals(9, this.selectionLayer.getLastSelectedCell().getColumnPosition());
assertEquals(4, this.selectionLayer.getLastSelectedCell().getRowPosition());
// move on to right at end -> stay
this.viewportLayer.doCommand(new MoveSelectionCommand(MoveDirectionEnum.RIGHT, false, false));
assertEquals(9, this.selectionLayer.getLastSelectedCell().getColumnPosition());
assertEquals(4, this.selectionLayer.getLastSelectedCell().getRowPosition());
// move on to right at end with axis cycle strategy -> move to beginning
// same row
this.viewportLayer.doCommand(new MoveSelectionCommand(MoveDirectionEnum.RIGHT,
ITraversalStrategy.AXIS_CYCLE_TRAVERSAL_STRATEGY, false, false));
assertEquals(0, this.selectionLayer.getLastSelectedCell().getColumnPosition());
assertEquals(4, this.selectionLayer.getLastSelectedCell().getRowPosition());
}