Assert.assertEquals(80, viewport.getHeight());
}
@Test
public void initRowHeaderHeight() throws Exception {
GridLayer gridLayer = new GridLayerFixture();
gridLayer.doCommand(new InitializeClientAreaCommandFixture());
ILayer rowHeader = gridLayer.getRowHeaderLayer();
// Only visible rows are counted
Assert.assertEquals(100, rowHeader.getHeight());
Assert.assertEquals(40, rowHeader.getWidth());
}