GraphQL\Tests\Validator\OverlappingFieldsCanBeMergedTest::testConflictingArgs PHP Метод

testConflictingArgs() публичный Метод

public testConflictingArgs ( )
    public function testConflictingArgs()
    {
        $this->expectFailsRule(new OverlappingFieldsCanBeMerged(), '
      fragment conflictingArgs on Dog {
        doesKnowCommand(dogCommand: SIT)
        doesKnowCommand(dogCommand: HEEL)
      }
        ', [FormattedError::create(OverlappingFieldsCanBeMerged::fieldsConflictMessage('doesKnowCommand', 'they have differing arguments'), [new SourceLocation(3, 9), new SourceLocation(4, 9)])]);
    }