GraphQL\Tests\Validator\ScalarLeafsTest::testScalarSelectionNotAllowedWithArgs PHP Method

testScalarSelectionNotAllowedWithArgs() public method

    public function testScalarSelectionNotAllowedWithArgs()
    {
        $this->expectFailsRule(new ScalarLeafs(), '
      fragment scalarSelectionsNotAllowedWithArgs on Dog {
        doesKnowCommand(dogCommand: SIT) { sinceWhen }
      }
        ', [$this->noScalarSubselection('doesKnowCommand', 'Boolean', 3, 42)]);
    }