def METHOD_NAME(self):
    urls = [
        self.url_id.format(pk=self.collection.pk),
        self.url_name.format(
            ns=self.namespace.name,
            name=self.collection.name,
        ),
    ]
    for url in urls:
        response = self.client.get(url)
        assert response.status_code == http_codes.HTTP_200_OK
        result = response.json()
        assert result['id'] == self.collection.pk
        assert result['href'] == f'http://testserver{urls[1]}'
        assert result['name'] == self.collection.name
        assert result['namespace']['name'] == self.namespace.name
        assert result['versions_url'] == \
            f'http://testserver{urls[1]}versions/'
        assert (result['latest_version']['version'] ==
                self.version2.version)
        assert result['deprecated'] is False