GridLienzoScrollHandler { AbsolutePanel getInternalScrollPanel() { return getPanel().getInternalScrollPanel(); } GridLienzoScrollHandler(final GridLienzoPanel panel); void init(); Integer scrollbarWidth(); Integer scrollbarHeight(); void refreshScrollPosition(); void setBounds(final Bounds bounds);  }
@Test public void testGetInternalScrollPanel() { final AbsolutePanel expectedPanel = mock(AbsolutePanel.class); doReturn(expectedPanel).when(gridLienzoPanel).getInternalScrollPanel(); final AbsolutePanel actualPanel = gridLienzoScrollHandler.getInternalScrollPanel(); assertEquals(expectedPanel, actualPanel); }