GraphQL\Tests\Type\SchemaValidatorTest::assertAcceptingFieldArgOfType PHP 메소드

assertAcceptingFieldArgOfType() 개인적인 메소드

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