def METHOD_NAME():
    p = Patch()
    p.item = "assigned"
    data = patch_to_dict(p)
    assert data["operations"][0] == {
        "operation": "Assign",
        "location": ["item"],
        "params": {"value": "assigned"},
    }