/** * http://www.yiiframework.com/forum/index.php/topic/12071-extension-simpleworkflow/page__view__findpost__p__164472 */ public function testInitialisation1_bis() { $m = new Model01(); $this->assertEquals($m->swGetWorkflowId(), 'workflow1'); $this->assertEquals($m->swGetDefaultWorkflowId(), 'workflow1'); $this->assertTrue($m->swHasStatus()); $this->assertTrue($m->save()); }