public function testDeepConflictWithMultipleIssues()
{
$this->expectFailsRule(new OverlappingFieldsCanBeMerged(), '
{
field {
x: a
y: c
},
field {
x: b
y: d
}
}
', [FormattedError::create(OverlappingFieldsCanBeMerged::fieldsConflictMessage('field', [['x', 'a and b are different fields'], ['y', 'c and d are different fields']]), [new SourceLocation(3, 9), new SourceLocation(4, 11), new SourceLocation(5, 11), new SourceLocation(7, 9), new SourceLocation(8, 11), new SourceLocation(9, 11)])]);
}