use of com.netflix.conductor.common.metadata.workflow.SubWorkflowParams in project conductor by Netflix.
the class SubWorkflowParamsTest method testWorkflowSetTaskToDomain.
@Test
public void testWorkflowSetTaskToDomain() {
// name is null
SubWorkflowParams subWorkflowParams = new SubWorkflowParams();
Map<String, String> taskToDomain = new HashMap<>();
taskToDomain.put("unit", "test");
subWorkflowParams.setTaskToDomain(taskToDomain);
assertEquals(taskToDomain, subWorkflowParams.getTaskToDomain());
}
Aggregations