def METHOD_NAME(self):
    expected_nodes = ["A", "B", "C"]
    for node in expected_nodes:
        self.linker.add_node(node)
    manifest = _mock_manifest("ABC")
    (fd, fname) = tempfile.mkstemp()
    os.close(fd)
    try:
        self.linker.write_graph(fname, manifest)
        assert os.path.exists(fname)
    finally:
        os.unlink(fname)