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