GraphQL\Tests\Language\PrinterTest::testPrintsMinimalAst PHP Метод

testPrintsMinimalAst() публичный Метод

    public function testPrintsMinimalAst()
    {
        $ast = new FieldNode(['name' => new NameNode(['value' => 'foo'])]);
        $this->assertEquals('foo', Printer::doPrint($ast));
    }