.getStartYOfRowPosition(10)));
}
@Test
public void adjustColOrigin() throws Exception {
this.viewportLayer = new ViewportLayerFixture(10, 20, 50, 20);
// Default client area: width 200, height 100
assertEquals(4, this.viewportLayer.getColumnCount());
this.viewportLayer.setOriginX(this.viewportLayer.getStartXOfColumnPosition(4));
assertEquals(4, this.viewportLayer.getColumnIndexByPosition(0));