def METHOD_NAME():
    params = _get_default_mask_parameters()
    params["masking_char"] = 1
    with pytest.raises(
        InvalidParamException,
        match="Invalid parameter value for masking_char. "
        "Expecting 'string', but got 'number'.",
    ):
        Mask().validate(params)