GraphQL\Tests\Validator\OverlappingFieldsCanBeMergedTest::testIgnoresUnknownTypes PHP Метод

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

    public function testIgnoresUnknownTypes()
    {
        $this->expectPassesRuleWithSchema($this->getTestSchema(), new OverlappingFieldsCanBeMerged(), '
        {
          someBox {
            ...on UnknownType {
              scalar
            }
            ...on NonNullStringBox2 {
              scalar
            }
          }
        }
        ');
    }