public function validateReturnsErrorIfTheGivenValueIsFalse() { $this->assertTrue($this->validator->validate(false)->hasErrors()); }