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

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

    public function testWithWellPlacedDirectives()
    {
        $this->expectPassesRule(new KnownDirectives(), '
      query Foo {
        name @include(if: true)
        ...Frag @include(if: true)
        skippedField @skip(if: true)
        ...SkippedFrag @skip(if: true)
      }
        ');
    }