GraphQL\Tests\Type\SchemaValidatorTest::assertAcceptingFieldArgOfType PHP Méthode

assertAcceptingFieldArgOfType() private méthode

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