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

testArgOnOptionalArg() public method

    public function testArgOnOptionalArg()
    {
        $this->expectPassesRule(new ArgumentsOfCorrectType(), '
        {
          dog {
            isHousetrained(atOtherHomes: true)
          }
        }
        ');
    }
ArgumentsOfCorrectTypeTest