Ejemplo n.º 1
0
 /**
  * Every static call of exist Rule should be return a new instance of Validator
  */
 public function testStaticCallsShouldReturnNewValidator()
 {
     $this->assertInstanceOf('Bluz\\Validator\\Validator', Validator::arrayInput(function () {
         return true;
     }));
     $this->assertInstanceOf('Bluz\\Validator\\Validator', Validator::string());
     $this->assertInstanceOf('Bluz\\Validator\\Validator', Validator::notEmpty());
 }