GraphQL\Tests\Type\SchemaValidatorTest::testAcceptsAnObjectTypeWithFieldsObject PHP 메소드

testAcceptsAnObjectTypeWithFieldsObject() 공개 메소드

    public function testAcceptsAnObjectTypeWithFieldsObject()
    {
        $schemaConfig = $this->schemaWithFieldType(new ObjectType(['name' => 'SomeObject', 'fields' => ['f' => ['type' => Type::string()]]]));
        $this->expectPasses($schemaConfig);
    }
SchemaValidatorTest