GraphQL\Tests\Validator\KnownDirectivesTest::testWithKnownDirectives PHP Метод

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

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