def METHOD_NAME(cfg: Config):
    cdep = MockMultiDependency(
        git.Repo.init(cfg.inventory.dependencies_dir / ".repos" / "test-component.git")
    )
    c = Component("test-component", cdep, cfg.work_dir)
    create_component_symlinks(cfg, c)
    cfg.register_component(c)
    cfg.register_component_aliases({"test-component": "test-component"})