Exemplo n.º 1
0
 function testValueEmpty()
 {
     $v = new Valid();
     $this->assertTrue($v->isValueEmpty(''));
     $this->assertTrue($v->isValueEmpty(false));
     $this->assertTrue($v->isValueEmpty(null));
     $this->assertFalse($v->isValueEmpty(' '));
 }