@Test
public void validateInvalidOffset() {

  final List<String> errors = sut.validateWorkflow(Workflow.create(
      "test", TestData.HOURLY_WORKFLOW_CONFIGURATION_WITH_INVALID_OFFSET));
  assertThat(errors, hasSize(1));
  assertThat(errors.get(0), startsWith("invalid offset"));
}