/** * test set by indices */ public function testSetByIndices() { $this->object = new Tinebase_Record_RecordSet('Tinebase_Record_DummyRecord'); $this->object->addRecord(new Tinebase_Record_DummyRecord(array('id' => '100', 'string' => 'Test1'), true)); $this->object->addRecord(new Tinebase_Record_DummyRecord(array('id' => '200', 'string' => 'Test2'), true)); $this->object->addRecord(new Tinebase_Record_DummyRecord(array('id' => '300', 'string' => 'Test3'), true)); $result = $this->object->setByIndices('string', array('a', 'b', 'c')); }