@Parameters({"foo#bar", "#", "##"})

@Test
public void shouldNotAllowComponentWithHash(String component) {
  assertThat(sut.validateWorkflow(Workflow.create(component, FULL_WORKFLOW_CONFIGURATION)),
      contains("component id cannot contain #"));
}