def METHOD_NAME(self):
    self.request.audit_doc = audit_doc = FakeAuditDoc(user=None)
    self.request.audit_user = "audit_user"
    with configured_middleware() as ware:
        ware(self.request)
    self.assertEqual(audit_doc.status_code, 200)
    self.assertEqual(audit_doc.user, "audit_user")
    self.assertEqual(audit_doc.save_count, 1)