public validateNotBlank ( $value, $errorMessage, $errorField = null ) |
/** * @test */ public function shouldNotTreatZeroAsBlank() { //given $validatable = new Validatable(); //when $validatable->validateNotBlank('0', 'blank'); //then Assert::thatArray($validatable->getErrors())->isEmpty(); Assert::thatArray($validatable->getErrorFields())->isEmpty(); }