public function testGetEvents() { $model = new Model(); $model->setContent('test'); $model->setTemplateId(1); $model->save(); $this->assertInternalType('array', $this->object->getEvents()); }