GraphQL\Tests\Type\SchemaValidatorTest::assertAcceptingFieldArgOfType PHP Method

assertAcceptingFieldArgOfType() private method

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