def METHOD_NAME(self):
    step_graph = StepGraph.from_file(self.FIXTURES_ROOT / "experiment" / "hello_world.jsonnet")
    with NamedTemporaryFile(
        prefix="test-step-graph-to-file-", suffix=".jsonnet", dir=self.TEST_DIR
    ) as file_ref:
        step_graph.to_file(file_ref.name)
        new_step_graph = StepGraph.from_file(file_ref.name)
        assert step_graph == new_step_graph