Assert.assertEquals(15, cellsToSearch.length);
}
@Test
public void shouldSearchAllBodyCellsForColumnInSelection() {
ColumnSearchStrategy columnSearchStrategy = new ColumnSearchStrategy(
new int[] { 2, 5, 8 }, configRegistry);
columnSearchStrategy
.setComparator(new CellValueAsStringComparator<Comparable<String>>());
columnSearchStrategy.setContextLayer(layer);
PositionCoordinate cell = columnSearchStrategy.executeSearch("[2,2]");
Assert.assertEquals(2, cell.getColumnPosition());
Assert.assertEquals(2, cell.getRowPosition());
}