public void TestToStringStackWalker() { var source = new Source("{\n node(id: 4) {\n id,\n name\n }\n}\n"); var result = Parser.Parse(source); var visitor = new ToStringStackWalker(_output); var visited = visitor.Visit(result); result.Should().Be(visited); }