GraphQL\Tests\Validator\ArgumentsOfCorrectTypeTest::testWithDirectivesOfValidTypes PHP Method

testWithDirectivesOfValidTypes() public method

    public function testWithDirectivesOfValidTypes()
    {
        $this->expectPassesRule(new ArgumentsOfCorrectType(), '
        {
          dog @include(if: true) {
            name
          }
          human @skip(if: false) {
            name
          }
        }
      ');
    }
ArgumentsOfCorrectTypeTest