def METHOD_NAME(self):
    body = {
        "id": (
            "http://ratsinfo-online.net/landkreis-mol-bi/oparl/1.0/bodies.asp?id=1"
        ),
        "type": "https://schema.oparl.org/1.0/Body",
        "system": (
            "http://ratsinfo-online.net/landkreis-mol-bi/oparl/1.0/system.asp"
        ),
        "name": "Landkreis Märkisch-Oderland",
        "shortName": "KT",
        "organization": "http://ratsinfo-online.net/landkreis-mol-bi/oparl/1.0/organizations.asp?body=1",
        "person": "http://ratsinfo-online.net/landkreis-mol-bi/oparl/1.0/persons.asp?body=1",
        "meeting": "http://ratsinfo-online.net/landkreis-mol-bi/oparl/1.0/meetings.asp?body=1",
        "paper": "http://ratsinfo-online.net/landkreis-mol-bi/oparl/1.0/papers.asp?body=1",
        "legislativeTerm": [],
        "created": "2008-01-01T12:00:00+01:00",
        "modified": "2019-02-12T15:04:33+01:00",
    }
    with responses.RequestsMock() as requests_mock:
        body_url = (
            "https://ratsinfo-online.net/landkreis-mol-bi/oparl/1.0/bodies.asp?id=1"
        )
        requests_mock.add(requests_mock.GET, body_url, json=body)
        cli = Cli()
        # Typeshed is wrong for assertLogs
        # noinspection PyTypeChecker
        with self.assertLogs(cli.__module__, level="WARNING") as cm:
            endpoint_system, endpoint_id = cli.get_endpoint_from_body_url(body_url)
            self.assertEqual(endpoint_system, body["system"])
            self.assertEqual(endpoint_id, body["id"])
            self.assertEqual(
                cm.output,
                [
                    "WARNING:{}:The body's url '{}' doesn't match the body's id"
                    " '{}'".format(cli.__module__, body_url, body["id"])
                ],
            )