def METHOD_NAME(app_for_test):
    with app_for_test.test_request_context():
        with app_for_test.test_client() as client:
            response = client.get(url_for("v2_under_test.raising_validation_error"))
            assert response.status_code == 400
            error = response.json
            assert len(error.keys()) == 2
            assert error["status_code"] == 400
            assert len(error["errors"]) == 2
            assert {
                "error": "ValidationError",
                "message": "phone_number is a required property",
            } in error["errors"]
            assert {
                "error": "ValidationError",
                "message": "template_id is not a valid UUID",
            } in error["errors"]