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

testFullObject() public method

public testFullObject ( )
    public function testFullObject()
    {
        $this->expectPassesRule(new ArgumentsOfCorrectType(), '
        {
          complicatedArgs {
            complexArgField(complexArg: {
              requiredField: true,
              intField: 4,
              stringField: "foo",
              booleanField: false,
              stringListField: ["one", "two"]
            })
          }
        }
        ');
    }
ArgumentsOfCorrectTypeTest