GraphQL\Tests\Validator\ScalarLeafsTest::testScalarSelectionNotAllowedWithDirectivesAndArgs PHP Метод

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

    public function testScalarSelectionNotAllowedWithDirectivesAndArgs()
    {
        $this->expectFailsRule(new ScalarLeafs(), '
      fragment scalarSelectionsNotAllowedWithDirectivesAndArgs on Dog {
        doesKnowCommand(dogCommand: SIT) @include(if: true) { sinceWhen }
      }
        ', [$this->noScalarSubselection('doesKnowCommand', 'Boolean', 3, 61)]);
    }