/** * @todo Implement testSave(). */ public function testSaveLoadDelete() { $this->assertTrue($this->obj->save(), $this->obj->lastError()); // reload the object, test that column1 is the same $newObj = new ColumnFamilyTestObject($this->_keyID); $this->assertTrue($this->obj->column_column1 == $newObj->column_column1, "Column didn't match after reload. Expected '" . $this->obj->column_column1 . "', received '" . $newObj->column_column1 . "'"); $this->assertTrue($newObj->isLoaded()); $this->obj->delete(); $this->obj->save(); }