def METHOD_NAME(self):
    url = reverse("api:validate-value", kwargs={"validator": "django"})
    response = self.client.post(url, {"value": "VALID"}, format="json")
    expected = {
        "is_valid": True,
        "messages": [],
    }
    self.assertEqual(response.status_code, 200)
    self.assertEqual(response.data, expected)
    response = self.client.post(url, {"value": "NOT-VALID"}, format="json")
    expected = {
        "is_valid": False,
        "messages": ["not VALID value"],
    }
    self.assertEqual(response.status_code, 200)
    self.assertEqual(response.data, expected)