def METHOD_NAME(monkeypatch):
    value = {"test": 1, "second": 2}
    result = ParameterValidator.validate_parameter(
        "formdata", value, {"type": "boolean", "name": "foo"}
    )
    assert result.startswith("{'test': 1, 'second': 2} is not of type 'boolean'")