def METHOD_NAME():
    package = Package(DESCRIPTOR_FK)
    package.resources[1].data[3][0] = "bad"  # type: ignore
    resource = package.get_table_resource("main")
    rows = resource.read_rows()
    assert rows[0].valid
    assert rows[1].valid
    assert rows[2].errors[0].type == "foreign-key"
    assert rows[0].to_dict() == {
        "id": 1,
        "name": "Alex",
        "surname": "Martin",
        "parent_id": None,
    }
    assert rows[1].to_dict() == {
        "id": 2,
        "name": "John",
        "surname": "Dockins",
        "parent_id": 1,
    }
    assert rows[2].to_dict() == {
        "id": 3,
        "name": "Walter",
        "surname": "White",
        "parent_id": 2,
    }