public function testNoSpreadingItselfDeeplyTwoPaths()
{
$this->expectFailsRule(new NoFragmentCycles(), '
fragment fragA on Dog { ...fragB, ...fragC }
fragment fragB on Dog { ...fragA }
fragment fragC on Dog { ...fragA }
', [FormattedError::create(NoFragmentCycles::cycleErrorMessage('fragA', ['fragB']), [new SourceLocation(2, 31), new SourceLocation(3, 31)]), FormattedError::create(NoFragmentCycles::cycleErrorMessage('fragA', ['fragC']), [new SourceLocation(2, 41), new SourceLocation(4, 31)])]);
}