public function testSubFieldNotDefined()
{
$this->expectFailsRule(new FieldsOnCorrectType(), '
fragment subFieldNotDefined on Human {
pets {
unknown_field
}
}', [$this->undefinedField('unknown_field', 'Pet', [], 4, 11)]);
}