public function testRejectsASchemaWithAUnionTypeAsAnInputFieldArg()
{
// rejects a schema with a union type as an input field arg
$unionType = new UnionType(['name' => 'UnionType', 'types' => [new ObjectType(['name' => 'SomeOutputType', 'fields' => ['f' => ['type' => Type::float()]]])]]);
$this->assertRejectingFieldArgOfType($unionType);
}