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