def METHOD_NAME(self):
    expected_str = (
        "Flow run received invalid parameters:\n - num: value is not a valid"
        " integer"
    )
    try:
        ValidationTestModel(**{"num": "not an int", "string": "a string"})
    except Exception as exc:
        pte = ParameterTypeError.from_validation_error(exc)
        assert str(pte) == expected_str
        assert pte.args == ParameterTypeError(expected_str).args