def METHOD_NAME(self, get_distribution_mock):
    dist_setuptools = mock.MagicMock()
    dist_setuptools.name = "setuptools"
    dist_setuptools.version = "0.6"
    dist_setuptools.locate_file = mock.MagicMock(
        return_value=Path("/tmp/example/setuptools/main.py")
    )
    dist_setuptools.requires = []
    dist_pykka = mock.Mock()
    dist_pykka.name = "Pykka"
    dist_pykka.version = "1.1"
    dist_pykka.locate_file = mock.MagicMock(
        return_value=Path("/tmp/example/pykka/main.py")
    )
    dist_pykka.requires = [f"{dist_setuptools.name}==0.6"]
    dist_mopidy = mock.Mock()
    dist_mopidy.name = "Mopidy"
    dist_mopidy.version = "0.13"
    dist_mopidy.locate_file = mock.MagicMock(
        return_value=Path("/tmp/example/mopidy/no_name.py")
    )
    dist_mopidy.requires = [f"{dist_pykka.name}==1.1"]
    get_distribution_mock.side_effect = [
        dist_mopidy,
        dist_pykka,
        dist_setuptools,
    ]
    result = deps.pkg_info()
    assert result["name"] == "Mopidy"
    assert result["version"] == "0.13"
    assert "mopidy" in str(result["path"])
    dep_info_pykka = result["dependencies"][0]
    assert dep_info_pykka["name"] == "Pykka"
    assert dep_info_pykka["version"] == "1.1"
    dep_info_setuptools = dep_info_pykka["dependencies"][0]
    assert dep_info_setuptools["name"] == "setuptools"
    assert dep_info_setuptools["version"] == "0.6"