/** * @expectedException AmCharts\Graph\Exception\InvalidArgumentException */ public function testSetTypeWithInvalidValue() { $this->bullet->setType('foo'); }