public function testUnionIntoContainedObject() { $this->expectPassesRule(new PossibleFragmentSpreads(), ' fragment unionWithinObject on Dog { ...catOrDogFragment } fragment catOrDogFragment on CatOrDog { __typename } '); }