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

testNoArgOnOptionalArg() public méthode

    public function testNoArgOnOptionalArg()
    {
        $this->expectPassesRule(new ArgumentsOfCorrectType(), '
        {
          dog {
            isHousetrained
          }
        }
        ');
    }
ArgumentsOfCorrectTypeTest