GraphQL\Tests\Validator\OverlappingFieldsCanBeMergedTest::testAllowsNonConflictingOverlapingTypes PHP Method

testAllowsNonConflictingOverlapingTypes() public method

    public function testAllowsNonConflictingOverlapingTypes()
    {
        $this->expectPassesRuleWithSchema($this->getTestSchema(), new OverlappingFieldsCanBeMerged(), '
        {
          someBox {
            ... on IntBox {
              scalar: unrelatedField
            }
            ... on StringBox {
              scalar
            }
          }
        }
        ');
    }