def METHOD_NAME(self):
    advert = Advert.objects.get(pk=1)
    gfk_page = GenericSnippetPage(
        title="Foobar Title",
        snippet_content_object=advert,
    )
    Page.objects.get(pk=1).add_child(instance=gfk_page)
    self.assertEqual(ReferenceIndex.get_grouped_references_to(advert).count(), 1)
    response = self.client.get(
        reverse("wagtailsnippets_tests_advert:usage", args=["1"])
        + "?describe_on_delete=1"
    )
    self.assertNotContains(response, "Welcome to the Wagtail test site!")
    self.assertContains(response, "Foobar Title")
    self.assertContains(response, "<td>Generic snippet page</td>", html=True)
    self.assertNotContains(response, "<th>Field</th>", html=True)
    self.assertContains(response, "<th>If you confirm deletion</th>", html=True)
    self.assertContains(response, "Snippet content object")
    self.assertContains(response, ": will unset the reference")