示例#1
0
 /**
  * Set/get relation Id
  */
 public function testRelationID()
 {
     $oFooter = new Footer(0);
     $iVal = rand(1, 1000);
     $oFooter->setRelationId($iVal);
     $this->assertEquals($oFooter->getRelationId(), $iVal);
     $this->assertEquals(Footer::AUTO, $oFooter->getType());
 }