public function testFieldNotDefinedOnInlineFragment() { $this->expectFailsRule(new FieldsOnCorrectType(), ' fragment fieldNotDefined on Pet { ... on Dog { meowVolume } }', [$this->undefinedField('meowVolume', 'Dog', [], 4, 11)]); }