/** * Tests that the event response code can be changed. * * @return void */ public function testSetCode() { $code = Phergie_Event_Response::ERR_NOSUCHNICK; $this->event->setCode($code); $this->assertSame($code, $this->event->getCode()); }