use of ca.corefacility.bioinformatics.irida.service.analysis.workspace.galaxy.AnalysisParameterServiceGalaxy in project irida by phac-nml.
the class AnalysisParameterServiceGalaxyTest method setup.
@Before
public void setup() {
MockitoAnnotations.initMocks(this);
analysisParameterService = new AnalysisParameterServiceGalaxy();
when(iridaWorkflow.getWorkflowDescription()).thenReturn(iridaWorkflowDescription);
IridaToolParameter iridaToolParameter = new IridaToolParameter("galaxy-tool1", "parameter1");
IridaWorkflowParameter parameter1 = new IridaWorkflowParameter("parameter1", "0", Lists.newArrayList(iridaToolParameter));
List<IridaWorkflowParameter> iridaWorkflowParameters = Lists.newArrayList(parameter1);
when(iridaWorkflowDescription.getParameters()).thenReturn(iridaWorkflowParameters);
when(iridaWorkflowDescription.acceptsParameters()).thenReturn(true);
}
Aggregations