GridLienzoScrollHandler { public void init() { setupGridLienzoScrollStyle(); setupScrollBarSynchronization(); setupMouseDragSynchronization(); setupContextSwitcher(); } GridLienzoScrollHandler(final GridLienzoPanel panel); void init(); Integer scrollbarWidth(); Integer scrollbarHeight(); void refreshScrollPosition(); void setBounds(final Bounds bounds);  }
@Test public void testInit() { doNothing().when(gridLienzoScrollHandler).setupGridLienzoScrollStyle(); doNothing().when(gridLienzoScrollHandler).setupScrollBarSynchronization(); doNothing().when(gridLienzoScrollHandler).setupMouseDragSynchronization(); doNothing().when(gridLienzoScrollHandler).setupContextSwitcher(); gridLienzoScrollHandler.init(); verify(gridLienzoScrollHandler).setupGridLienzoScrollStyle(); verify(gridLienzoScrollHandler).setupScrollBarSynchronization(); verify(gridLienzoScrollHandler).setupMouseDragSynchronization(); verify(gridLienzoScrollHandler).setupContextSwitcher(); }