def METHOD_NAME(self):
    task = create_task(
        AddPermissionSetPermissions,
        {
            "managed": True,
            "api_version": "47.0",
            "api_names": "bar,foo",
            "field_permissions": [
                {
                    "field": "Test__c.Description__c",
                    "readable": True,
                    "editable": True,
                }
            ],
        },
    )
    tree = metadata_tree.fromstring(PERMSET_XML)
    element = tree._element
    assert (
        len(
            element.findall(
                f".//{MD}fieldPermissions[{MD}field='Test__c.Description__c']"
            )
        )
        == 0
    )
    task._transform_entity(tree, "PermSet")
    fieldPermissions = element.findall(
        f".//{MD}fieldPermissions[{MD}field='Test__c.Description__c']"
    )
    assert len(fieldPermissions) == 1
    readable = fieldPermissions[0].findall(f".//{MD}readable")
    assert len(readable) == 1
    assert readable[0].text == "true"
    editable = fieldPermissions[0].findall(f".//{MD}editable")
    assert len(editable) == 1
    assert editable[0].text == "true"