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