Example #1
0
 /**
  * Set/get footer height
  */
 public function testFooter()
 {
     // Section Settings
     $oSettings = new Section();
     $this->assertEquals(720, $oSettings->getFooterHeight());
     $iVal = rand(1, 1000);
     $oSettings->setFooterHeight($iVal);
     $this->assertEquals($iVal, $oSettings->getFooterHeight());
     $oSettings->setFooterHeight();
     $this->assertEquals(720, $oSettings->getFooterHeight());
 }