def METHOD_NAME(text, expected):
    doc, params, ret = funcdoc.parse_rst(text)
    assert expected["doc"].strip() == doc.strip(), "doc"
    assert expected["params"] == params, "params"
    assert expected["ret"] == ret, "ret"