GridLienzoScrollPosition { Bounds getVisibleBounds() { return getDefaultGridLayer().getVisibleBounds(); } GridLienzoScrollPosition(final GridLienzoScrollHandler gridLienzoScrollHandler);   }
@Test public void testGetVisibleBounds() { final Bounds expectedBounds = mock(Bounds.class); doReturn(expectedBounds).when(defaultGridLayer).getVisibleBounds(); doCallRealMethod().when(gridLienzoScrollPosition).getVisibleBounds(); final Bounds actualBounds = gridLienzoScrollPosition.getVisibleBounds(); assertEquals(expectedBounds, actualBounds); }