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