GraphQL\Tests\Validator\UniqueDirectivesPerLocationTest::testManyDuplicateDirectivesInOneLocation PHP Method

testManyDuplicateDirectivesInOneLocation() public method

    public function testManyDuplicateDirectivesInOneLocation()
    {
        $this->expectFailsRule(new UniqueDirectivesPerLocation(), '
      fragment Test on Type {
        field @directive @directive @directive
      }
        ', [$this->duplicateDirective('directive', 3, 15, 3, 26), $this->duplicateDirective('directive', 3, 15, 3, 37)]);
    }