public function notEmptyValidatorReturnsErrorForANullValue() { $this->assertTrue($this->validator->validate(null)->hasErrors()); }