GraphQL\Tests\Validator\ArgumentsOfCorrectTypeTest::testIncorrectValueAndMissingArgument PHP Méthode

testIncorrectValueAndMissingArgument() public méthode

    public function testIncorrectValueAndMissingArgument()
    {
        $this->expectFailsRule(new ArgumentsOfCorrectType(), '
        {
          complicatedArgs {
            multipleReqs(req1: "one")
          }
        }
        ', [$this->badValue('req1', 'Int', '"one"', 4, 32)]);
    }
ArgumentsOfCorrectTypeTest