Ejemplo n.º 1
0
 function testIsDeleted()
 {
     $active_value = 1;
     $deleted_value = 2;
     $hidden_value = 3;
     $r = new FRSRelease();
     $r->setStatusId($deleted_value);
     $this->assertTrue($r->isDeleted());
     $r->setStatusId($hidden_value);
     $this->assertFalse($r->isDeleted());
     $r->setStatusId($active_value);
     $this->assertFalse($r->isDeleted());
 }