GridLienzoPanel extends FocusPanel implements RequiresResize,
                                                           ProvidesResize,
                                                           GridLienzoScrollable { protected void addMouseUpHandler() { addMouseUpHandler((e) -> refreshScrollPosition()); } GridLienzoPanel();  GridLienzoPanel(final int width,
                           final int height);  GridLienzoPanel(final DefaultGridLayer defaultGridLayer);  GridLienzoPanel(final int width,
                           final int height,
                           final DefaultGridLayer defaultGridLayer); protected  GridLienzoPanel(final LienzoPanel lienzoPanel); protected  GridLienzoPanel(final LienzoPanel lienzoPanel,
                              final DefaultGridLayer defaultGridLayer); @Override void onResize(); @Override void updatePanelSize(); @Override void updatePanelSize(final Integer width,
                                final Integer height); @Override void refreshScrollPosition(); @Override void setBounds(final Bounds bounds); LienzoPanel add(final DefaultGridLayer layer); final Viewport getViewport(); LienzoPanel getLienzoPanel(); AbsolutePanel getScrollPanel(); AbsolutePanel getDomElementContainer(); AbsolutePanel getInternalScrollPanel(); DefaultGridLayer getDefaultGridLayer();  }
@Test public void testAddMouseUpHandler() { final ArgumentCaptor<MouseUpHandler> handler = ArgumentCaptor.forClass(MouseUpHandler.class); final MouseUpEvent mouseUpEvent = mock(MouseUpEvent.class); final HandlerRegistration registration = mock(HandlerRegistration.class); doReturn(registration).when(gridLienzoPanel).addMouseUpHandler(handler.capture()); doNothing().when(gridLienzoPanel).refreshScrollPosition(); gridLienzoPanel.addMouseUpHandler(); handler.getValue().onMouseUp(mouseUpEvent); verify(gridLienzoPanel).refreshScrollPosition(); }