GraphQL\Tests\SchemaPrinterTest::testDoesNotAlterAst PHP Method

testDoesNotAlterAst() public method

public testDoesNotAlterAst ( )
    public function testDoesNotAlterAst()
    {
        $kitchenSink = file_get_contents(__DIR__ . '/schema-kitchen-sink.graphql');
        $ast = Parser::parse($kitchenSink);
        $astCopy = $ast->cloneDeep();
        Printer::doPrint($ast);
        $this->assertEquals($astCopy, $ast);
    }