@Test
public void shouldPropagateErrorFromDelegate() {

  var errors = List.of("foo", "bar");
  when(basicWorkflowValidator.validateWorkflow(any())).thenReturn(errors);
  assertThat(sut.validateWorkflow(Workflow.create("test", FULL_WORKFLOW_CONFIGURATION)), is(errors));
}