public function testFetchCustomCondition() { $model = new TestModel(); $model->title = 'test'; $model->description = 'foobar'; $model->Insert(); $model = new TestModel(); $model->set_condition('title = :title'); $model->title = 'test'; $model->FetchInto(); $this->assertEquals('foobar', $model->description); }