def METHOD_NAME(self):
    DocumentFactory.create(user=self.user, public=True, listed=False)
    url = reverse("api:document-list")
    response = self.client.get(url)
    self.assertEqual(response.json()["meta"]["total_count"], 0)
    self.client.force_login(self.user)
    response = self.client.get(url)
    self.assertEqual(response.json()["meta"]["total_count"], 1)