public function testSetCategoryField() { $value = 'foo'; $this->chart->setCategoryField($value); $this->assertEquals($value, $this->chart->getCategoryField()); }