GraphQL\Tests\SchemaPrinterTest::testPrintsMinimalAst PHP Method

testPrintsMinimalAst() public method

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