public function testDifferentDuplicateDirectivesInOneLocation()
{
$this->expectFailsRule(new UniqueDirectivesPerLocation(), '
fragment Test on Type {
field @directiveA @directiveB @directiveA @directiveB
}
', [$this->duplicateDirective('directiveA', 3, 15, 3, 39), $this->duplicateDirective('directiveB', 3, 27, 3, 51)]);
}