GraphQL\Tests\Validator\ArgumentsOfCorrectTypeTest::testNullValue2 PHP Method

testNullValue2() public method

public testNullValue2 ( )
    public function testNullValue2()
    {
        $this->expectFailsRule(new ArgumentsOfCorrectType(), '
        {
          complicatedArgs {
            multipleReqs(req1: null)
          }
        }
        ', [$this->badValue('req1', 'Int!', 'null', 4, 32, ['Expected "Int!", found null.'])]);
    }
ArgumentsOfCorrectTypeTest