@Test public final void testProcessFormSubmissionResume() throws Exception { final long tiOid = 5002L; HarvestCoordinatorImpl mockHCI = mock(HarvestCoordinatorImpl.class); testInstance.setHarvestCoordinator(mockHCI); command.setCmd(TargetInstanceCommand.ACTION_RESUME); command.setTargetInstanceId(tiOid); processSubmitForm(Constants.VIEW_TARGET_INSTANCE_QUEUE); verify(mockHCI).resume(mockTargetInstanceManager.getTargetInstance(tiOid)); }
public void setHarvestCoordinator(HarvestCoordinator harvestCoordinator) { this.harvestCoordinator = harvestCoordinator; }
QueueController extends AbstractFormController { public void setHarvestCoordinator(HarvestCoordinator harvestCoordinator) { this.harvestCoordinator = harvestCoordinator; } }
QueueController extends AbstractFormController { public void setHarvestCoordinator(HarvestCoordinator harvestCoordinator) { this.harvestCoordinator = harvestCoordinator; } QueueController(); }
QueueController extends AbstractFormController { public void setHarvestCoordinator(HarvestCoordinator harvestCoordinator) { this.harvestCoordinator = harvestCoordinator; } 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); }
QueueController extends AbstractFormController { public void setHarvestCoordinator(HarvestCoordinator harvestCoordinator) { this.harvestCoordinator = harvestCoordinator; } 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);  }