def METHOD_NAME(self, workflow_class_tuple, temp_dir):
    """Tests project file creation via the command line
    Args:
        workflow_class_tuple (tuple): tuple returned from getAvailableWorkflows
          with (workflow_class, workflow_name, workflow_class.workflowDisplayName)
    """
    workflow_class, workflow_name, display_name = workflow_class_tuple
    logger.debug(f"starting {workflow_name}")
    project_file = generate_project_file_name(temp_dir, workflow_name)
    args = ["--headless", f"--new_project={project_file}", f"--workflow={workflow_name}"]
    # Clear the existing commandline args so it looks like we're starting fresh.
    sys.argv = ["ilastik.py"]
    sys.argv.extend(args)
    # Start up the ilastik.py entry script as if we had launched it from the command line
    parsed_args, workflow_cmdline_args = app.parse_known_args()
    shell = app.main(parsed_args=parsed_args, workflow_cmdline_args=workflow_cmdline_args, init_logging=False)
    shell.closeCurrentProject()
    # now check if the project file has been created:
    assert os.path.exists(project_file), f"Project File {project_file} creation not successful"