GraphQL\Tests\Type\SchemaValidatorTest::expectRejectionBecauseFieldIsNotInputType PHP Метод

expectRejectionBecauseFieldIsNotInputType() приватный Метод

private expectRejectionBecauseFieldIsNotInputType ( $errors, $fieldTypeName )
    private function expectRejectionBecauseFieldIsNotInputType($errors, $fieldTypeName)
    {
        $this->assertSame(1, count($errors));
        $this->assertSame("Input field SomeIncorrectInputType.val has type {$fieldTypeName}, " . "which is not an input type!", $errors[0]->message);
    }
SchemaValidatorTest