QualityReviewToolController extends AbstractCommandController { public void setEnableBrowseTool(boolean enableBrowseTool) { this.enableBrowseTool = enableBrowseTool; } QualityReviewToolController(); void setTargetInstanceManager(TargetInstanceManager targetInstanceManager); void setTargetManager(TargetManager targetManager); String getArchiveUrl(); void setArchiveUrl(String archiveUrl); String getArchiveUrlAlternative(); void setArchiveUrlAlternative(String archiveUrlAlternative); HarvestResourceUrlMapper getHarvestResourceUrlMapper(); void setHarvestResourceUrlMapper(
			HarvestResourceUrlMapper harvestResourceUrlMapper); TargetInstanceDAO getTargetInstanceDao(); void setTargetInstanceDao(TargetInstanceDAO targetInstanceDao); void setEnableBrowseTool(boolean enableBrowseTool); boolean isEnableBrowseTool(); void setEnableAccessTool(boolean enableAccessTool); boolean isEnableAccessTool(); void setWebArchiveTarget(String webArchiveTarget); String getArchiveName(); void setArchiveName(String archiveName); String getArchiveUrlAlternativeName(); void setArchiveUrlAlternativeName(String archiveUrlAlternativeName);  }
@Test public final void testHandleWithBrowseToolDiasbled() { try { testInstance.setEnableBrowseTool(false); ModelAndView mav = getHandelMav(); assertTrue(mav != null); assertTrue(mav.getViewName().equals("quality-review-toc")); List<SeedMapElement> seeds = (List<SeedMapElement>)mav.getModel().get(QualityReviewToolCommand.MDL_SEEDS); assertTrue(seeds.size() == 1 ); Iterator<SeedMapElement> it = seeds.iterator(); assertTrue(it.hasNext()); SeedMapElement sme = it.next(); assertEquals("http: assertEquals("", sme.getBrowseUrl()); assertEquals("http: } catch (Exception e) { String message = e.getClass().toString() + " - " + e.getMessage(); log.debug(message); fail(message); } }