use of com.epam.pipeline.entity.configuration.PipeConfValueVO in project cloud-pipeline by epam.
the class PipelineRunTest method shouldReturnValidStringWithoutType.
@Test
public void shouldReturnValidStringWithoutType() {
PipelineRun pipelineRun = new PipelineRun();
Map<String, PipeConfValueVO> params = new HashMap<>();
params.put(PARAM1_NAME, new PipeConfValueVO(PARAM1_VALUE, null));
params.put(PARAM2_NAME, new PipeConfValueVO(PARAM2_VALUE, null));
pipelineRun.convertParamsToString(params);
assertThat(pipelineRun.getParams(), is(glueParams(glueParam(PARAM1_NAME, PARAM1_VALUE), glueParam(PARAM2_NAME, PARAM2_VALUE))));
}
Aggregations