GraphQL\Tests\Validator\UniqueInputFieldNamesTest::testDuplicateInputObjectFields PHP Method

testDuplicateInputObjectFields() public method

    public function testDuplicateInputObjectFields()
    {
        $this->expectFailsRule(new UniqueInputFieldNames(), '
      {
        field(arg: { f1: "value", f1: "value" })
      }
        ', [$this->duplicateField('f1', 3, 22, 3, 35)]);
    }