def METHOD_NAME(self):
    url = "/api/internal/ui/collections/mynamespace/bogus/"
    resp = self.client.get(url)
    assert resp.status_code == http_codes.HTTP_404_NOT_FOUND
    assert resp.json() == {
        'code': 'not_found',
        'message': 'Not found.',
    }