/** * testError * * @return void * * @expectedException \Exception */ public function testError() { $this->instance->error('test'); }