/** * @expectedException \InvalidArgumentException */ public function testSetWrongClassTypeOutputHandlers() { $this->config->setOutputHandlers([new \stdClass()]); }