@Test
@TestCaseName("{method} - {1}")

@Parameters(source = InvalidFlyteConfExecArgsProvider.class)
public void shouldRejectInvalidFlyteExecConf(WorkflowConfiguration configuration,
                                             String expectedError) {
  assertThat(
      sut.validateWorkflow(Workflow.create("test", configuration)),
      Matchers.allOf(
          Matchers.<String>hasSize(1),
          Matchers.contains(expectedError)
      )
  );
}