/** * @covers Paradox\Client::registerResult */ public function testRegisterResult() { $this->client->begin(); $document = $this->client->dispense($this->collectionName); $document->set('name', 'john smith'); $this->client->store($document); $this->client->registerResult('store'); $result = $this->client->commit(); $this->assertNotNull($result['store'], "Store should return a valid id"); }