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

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

    public function testPartialObjectIncludingRequired()
    {
        $this->expectPassesRule(new ArgumentsOfCorrectType(), '
        {
          complicatedArgs {
            complexArgField(complexArg: { requiredField: true, intField: 4 })
          }
        }
        ');
    }
ArgumentsOfCorrectTypeTest