public function notEmptyValidatorCreatesTheCorrectErrorForANullValue() { $this->assertEquals(1, count($this->validator->validate(null)->getErrors())); }