GraphQL\Tests\Validator\ArgumentsOfCorrectTypeTest::testIncorrectValueType PHP Метод

testIncorrectValueType() публичный Метод

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