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

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

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