public function testEnumIsInvalidFragmentType() { $this->expectFailsRule(new FragmentsOnCompositeTypes(), ' fragment scalarFragment on FurColor { bad } ', [$this->error('scalarFragment', 'FurColor', 2, 34)]); }