def METHOD_NAME(tmp_path: Path):
    g = cached_graph((TEST_DATA_DIR / "suites/w3c/trig/manifest.ttl",))
    # this graph has 2,848 triples
    # serialize into chunks file with 100 triples each
    serialize_in_chunks(
        g, max_triples=100, file_name_stem="chunk_100", output_dir=tmp_path
    )
    # count the resultant .nt files, should be math.ceil(2848 / 100) = 25
    assert len(list(tmp_path.glob("*.nt"))) == 25
    # check, when a graph is made from the chunk files, it's isomorphic with original
    g2 = Graph()
    for f in tmp_path.glob("*.nt"):
        g2.parse(f, format="nt")
    assert g.isomorphic(g2), "Reconstructed graph is not isomorphic with original"