public function testVariableUsedByRecursiveFragment() { $this->expectPassesRule(new NoUnusedVariables(), ' query Foo($a: String) { ...FragA } fragment FragA on Type { field(a: $a) { ...FragA } } '); }