public function testObjectIsValidInlineFragmentType() { $this->expectPassesRule(new FragmentsOnCompositeTypes(), ' fragment validFragment on Pet { ... on Dog { barks } } '); }