public function testHasType() { $this->model->setType(CeModel::TYPE_CUSTOM); $this->assertEquals(false, $this->model->hasType(CeModel::TYPE_STRATEGY)); $this->assertEquals(true, $this->model->hasType(CeModel::TYPE_CUSTOM)); }