public function testSetCorrectType() { $this->model->setType(CeModel::TYPE_CUSTOM); $this->assertEquals(CeModel::TYPE_CUSTOM, $this->model->getType()); $this->model->setType(CeModel::TYPE_STRATEGY); $this->assertEquals(CeModel::TYPE_STRATEGY, $this->model->getType()); }
/** * Get type * * @return integer */ public function getType() { return parent::getType(); }