public function setHeight($value = 0)
{
$this->height = (double) $value;
return $this;
}
public function testHeight() { $object = new PlotArea(); $value = rand(0, 100); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\PlotArea', $object->setHeight()); $this->assertEquals(0, $object->getHeight()); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\PlotArea', $object->setHeight($value)); $this->assertEquals($value, $object->getHeight()); }