ArchivaSearchPlugin implements PanelPlugin { public String getTitle( Project project ) { return "Archiva Search Results"; }  List<PanelItem> getItems( Project project ); String getTitle( Project project );  }
@Test public void testTitle() { assert "Archiva Search Results".equals( plugin.getTitle( null ) ); assert "Archiva Search Results".equals( plugin.getTitle( project ) ); }