QueueController extends AbstractFormController { public void initBinder(HttpServletRequest request, ServletRequestDataBinder binder) throws Exception { binder.registerCustomEditor(java.util.Date.class, DateUtils.get().getFullDateTimeEditor(true)); NumberFormat nf = NumberFormat.getInstance(request.getLocale()); binder.registerCustomEditor(java.lang.Long.class, new CustomNumberEditor(java.lang.Long.class, nf, true)); } QueueController(); void initBinder(HttpServletRequest request, ServletRequestDataBinder binder); void setTargetInstanceManager(TargetInstanceManager aTargetInstanceManager); void setHarvestCoordinator(HarvestCoordinator harvestCoordinator); void setEnvironment(Environment environment); void setAgencyUserManager(AgencyUserManager agencyUserManager); void setMessageSource(MessageSource messageSource); void setEnableQaModule(Boolean enableQaModule); void setThumbnailWidth(String thumbnailWidth); void setThumbnailHeight(String thumbnailHeight); void setThumbnailRenderer(String thumbnailRenderer); void setHarvestResourceUrlMapper(HarvestResourceUrlMapper harvestResourceUrlMapper);  }
@Test public final void testInitBinder() throws Exception { ServletRequestDataBinder binder = new ServletRequestDataBinder(command, "command"); testInstance.initBinder(mockRequest, binder); }