public function testPieBaseColor() { $color = $this->chart->pieBaseColor(); $this->assertNull($color); $color = $this->chart->pieBaseColor('#ff0000'); $this->assertInstanceOf('AmCharts\\Chart\\Setting\\Color', $color); }