@Test public void testConfigure() { PreviewPane reportPane = mock( PreviewPane.class ); boolean result = plugin.configure( reportPane ); verify( reportPane ).setPageNumber( 1 ); assertThat( result, is( equalTo( true ) ) ); }
public boolean configure( final PreviewPane reportPane ) { reportPane.setPageNumber( 1 ); return true; }
GoToFirstPageActionPlugin extends AbstractActionPlugin implements ControlActionPlugin { public boolean configure( final PreviewPane reportPane ) { reportPane.setPageNumber( 1 ); return true; } }
GoToFirstPageActionPlugin extends AbstractActionPlugin implements ControlActionPlugin { public boolean configure( final PreviewPane reportPane ) { reportPane.setPageNumber( 1 ); return true; } GoToFirstPageActionPlugin(); }
GoToFirstPageActionPlugin extends AbstractActionPlugin implements ControlActionPlugin { public boolean configure( final PreviewPane reportPane ) { reportPane.setPageNumber( 1 ); return true; } GoToFirstPageActionPlugin(); void deinitialize( final SwingGuiContext swingGuiContext ); boolean initialize( final SwingGuiContext context ); String getDisplayName(); String getShortDescription(); Icon getSmallIcon(); Icon getLargeIcon(); KeyStroke getAcceleratorKey(); Integer getMnemonicKey(); boolean configure( final PreviewPane reportPane ); }
GoToFirstPageActionPlugin extends AbstractActionPlugin implements ControlActionPlugin { public boolean configure( final PreviewPane reportPane ) { reportPane.setPageNumber( 1 ); return true; } GoToFirstPageActionPlugin(); void deinitialize( final SwingGuiContext swingGuiContext ); boolean initialize( final SwingGuiContext context ); String getDisplayName(); String getShortDescription(); Icon getSmallIcon(); Icon getLargeIcon(); KeyStroke getAcceleratorKey(); Integer getMnemonicKey(); boolean configure( final PreviewPane reportPane );  }