public function textValidatorRejectsInvalidInput($input) { $this->assertTrue($this->validator->validate($input)->hasErrors()); }