public function testWriteLockedDocDoesNotExposeVersionOrLockPropertyInGraph() { $doc = array("_id" => array("r" => "http://example.com/things/1", "c" => "http://example.com/"), _VERSION => 0, _LOCKED_FOR_TRANS => "transaction_234"); $g = new \Tripod\Mongo\MongoGraph(); $g->add_tripod_array($doc); $this->assertTrue(count($g->get_index()) == 0, "Graph should contain no data"); }