/** * Font style as object */ public function testFontObject() { $font = new Font(); $oCheckBox = new CheckBox(htmlspecialchars('chkBox', ENT_COMPAT, 'UTF-8'), htmlspecialchars('CheckBox', ENT_COMPAT, 'UTF-8'), $font); $this->assertEquals($font, $oCheckBox->getFontStyle()); }
/** * Font style as object */ public function testFontObject() { $font = new Font(); $oCheckBox = new CheckBox('chkBox', 'CheckBox', $font); $this->assertEquals($oCheckBox->getFontStyle(), $font); }