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

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

    public function testSingleValueOfIncorrectType()
    {
        $this->expectFailsRule(new ArgumentsOfCorrectType(), '
        {
          complicatedArgs {
            stringListArgField(stringListArg: 1)
          }
        }
        ', [$this->badValue('stringListArg', 'String', '1', 4, 47)]);
    }
ArgumentsOfCorrectTypeTest