public function testSetCategoryBalloonColor() { $color = '#ff0000'; $this->cursor->setCategoryBalloonColor($color); $this->assertInstanceOf('AmCharts\\Chart\\Setting\\color', $this->cursor->getCategoryBalloonColor()); $this->cursor->setCategoryBalloonColor(new Setting\Color($color)); $this->assertInstanceOf('AmCharts\\Chart\\Setting\\color', $this->cursor->getCategoryBalloonColor()); }