public function testAllVariablesDeeplyInInlineFragmentsDefined()
{
$this->expectPassesRule(new NoUndefinedVariables(), '
query Foo($a: String, $b: String, $c: String) {
... on Type {
field(a: $a) {
field(b: $b) {
... on Type {
field(c: $c)
}
}
}
}
}
');
}