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