function expectFailsRuleWithSchema($schema, $rule, $queryString, $errors) { $this->expectInvalid($schema, [$rule], $queryString, $errors); }