def METHOD_NAME(self, tmpdir):
    sample_yaml = Path(__file__).parent / "mapping_mixins.recipe.yml"
    load_yaml = Path(__file__).parent / "mapping_mixins-reverse.load.yml"
    mapping_yaml = Path(tmpdir) / "mapping.yml"
    generate_cli.main(
        [
            str(sample_yaml),
            "--generate-cci-mapping-file",
            str(mapping_yaml),
            "--load-declarations",
            str(load_yaml),
        ],
        standalone_mode=False,
    )
    map_data = yaml.safe_load(mapping_yaml.read_text())
    assert list(map_data.keys()) == [
        "Insert Contact",
        "Insert Opportunity",
        "Insert Account",
    ]
    assert map_data["Insert Opportunity"]["bulk_mode"] == "serial"