private function assertAcceptingFieldArgOfType($fieldArgType) { $schema = $this->schemaWithFieldArgOfType($fieldArgType); $errors = SchemaValidator::validate($schema, [SchemaValidator::noOutputTypesAsInputArgsRule()]); $this->assertEmpty($errors); }