@Override @Before public void setUp() throws Exception { super.setUp(); studyManagementServiceStub = new StudyManagementServiceStub(); action = new SaveSampleMappingAction(); action.setStudyManagementService(studyManagementServiceStub); action.setWorkspaceService(workspaceService); }
/** {@inheritDoc} */ @Before @Override public void setUp() throws Exception { super.setUp(); BioDbNetSearchImpl bioDbNetSvc = new BioDbNetSearchImpl(); bioDbNetSvc.setBioDbNetRemoteService(bioDbNetRemoteService); action = new BioDbNetSearchAction(); action.setBioDbNetService(bioDbNetSvc); action.setWorkspaceService(workspaceService); action.prepare(); }