public function testCreateSaveAllAndUpdate()
 {
     $post = new ARTPost(array('title' => 'TestTitle', 'message' => 'TestMessage', 'writer_id' => 1));
     ActiveRecordManager::saveAll();
     $newTitle = 'Test2Title';
     $post->title = $newTitle;
     ActiveRecordManager::saveAll();
     $id = $post->id;
     ActiveRecordManager::clearPool();
     $post = $this->TPost->find('first', array('recursive' => -1, 'conditions' => array('id' => $id), 'activeRecord' => true));
     $this->assertEquals($newTitle, $post->title);
 }
 public function saveAll()
 {
     return ActiveRecordManager::saveAll();
 }