def METHOD_NAME(self):
    JWTSecret.objects.create(identifier="testid", secret="bla")
    applicatie = ApplicatieFactory.create(client_ids=["testid"])
    url = reverse("admin:authorizations_applicatie_delete", args=(applicatie.pk,))
    response = self.app.get(url)
    response = response.form.submit().follow()
    self.assertEqual(response.status_code, 200)
    self.assertEqual(Applicatie.objects.count(), 0)
    self.assertEqual(JWTSecret.objects.count(), 0)