@Test
public void testInvalidFlowVersionException() {

  final FlowLoaderFactory loaderFactory = new FlowLoaderFactory(new Props(null));
  final File projectDir = ExecutionsTestUtil.getFlowDir(INVALID_FLOW_VERSION_DIRECTORY);
  assertThatThrownBy(() -> loaderFactory.createFlowLoader(projectDir))
      .isInstanceOf(ProjectManagerException.class)
      .hasMessageContaining("Invalid azkaban-flow-version in the project YAML file.");
}