public function setFontSize($size) { $this->fontSize = (int) $size; return $this; }
public function testSetFontSize() { $g = new Graph($this->imageOptions); $g->setFontSize(24); $this->assertEquals(24, $g->getFontSize()); }