Example #1
0
 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());
 }
Example #2
0
 /**
  * Get type
  *
  * @return integer 
  */
 public function getType()
 {
     return parent::getType();
 }