def METHOD_NAME(self, mocker, fake_metadata):
    Module = namedtuple("Module", ["cli"])
    mocker.patch(
        "kedro.framework.cli.cli._is_project",
        return_value=True,
    )
    mocker.patch(
        "kedro.framework.cli.cli.bootstrap_project",
        return_value=fake_metadata,
    )
    mocker.patch(
        "kedro.framework.cli.cli.importlib.import_module",
        return_value=Module(cli=cli),
    )
    kedro_cli = KedroCLI(fake_metadata.project_path)
    raw_cli_structure = get_cli_structure(kedro_cli, get_help=False)
    assert isinstance(raw_cli_structure["kedro"]["new"], dict)
    assert sorted(list(raw_cli_structure["kedro"]["new"].keys())) == sorted(
        [
            "--verbose",
            "-v",
            "--config",
            "-c",
            "--starter",
            "-s",
            "--checkout",
            "--directory",
            "--help",
        ]
    )
    # now check that once params and args are reached, the values are None
    assert raw_cli_structure["kedro"]["new"]["--starter"] is None
    assert raw_cli_structure["kedro"]["new"]["--checkout"] is None
    assert raw_cli_structure["kedro"]["new"]["--help"] is None
    assert raw_cli_structure["kedro"]["new"]["-c"] is None