GraphQL\Tests\Executor\LazyInterfaceTest::setUp PHP Method

setUp() protected method

Setup schema
protected setUp ( )
    protected function setUp()
    {
        $query = new ObjectType(['name' => 'query', 'fields' => function () {
            return ['lazyInterface' => ['type' => $this->getLazyInterfaceType(), 'resolve' => function () {
                return [];
            }]];
        }]);
        $this->schema = new Schema(['query' => $query, 'types' => [$this->getTestObjectType()]]);
    }