public function testOneFragment() { $this->expectPassesRule(new UniqueFragmentNames(), ' { ...fragA } fragment fragA on Type { field } '); }