def METHOD_NAME():
    """
    Read a CSV using TsvSource.
    """
    t = Transformer()
    s = TsvSource(t)
    g = s.parse(filename=os.path.join(RESOURCE_DIR, "test_nodes.csv"), format="csv")
    nodes = []
    for rec in g:
        if rec:
            nodes.append(rec)
    assert len(nodes) == 3
    nodes.sort()
    n1 = nodes.pop()[-1]
    assert n1["id"] == "CURIE:456"
    assert n1["name"] == "Disease 456"
    assert "biolink:Disease" in n1["category"]
    assert "biolink:NamedThing" in n1["category"]
    assert n1["description"] == "Node of type Disease, CURIE:456"
    g = s.parse(filename=os.path.join(RESOURCE_DIR, "test_edges.csv"), format="csv")
    edges = []
    for rec in g:
        if rec:
            print(rec)
            edges.append(rec)
    e1 = edges.pop()[-1]
    assert "id" in e1
    assert e1["subject"] == "CURIE:123"
    assert e1["object"] == "CURIE:456"
    assert e1["predicate"] == "biolink:related_to"
    assert e1["relation"] == "biolink:related_to"
    assert "PMID:1" in e1["publications"]