public function testPutLink() { $query = new Query(); $binding = $this->createHttpBinding(); $davidProfile = '#' . $this->profile_id . ':0'; $rexterProfile = '#' . $this->profile_id . ':4'; $binding->command('UPDATE Profile REMOVE followers'); $query->put(array('followers' => array('David' => $davidProfile)), 'Profile')->where('@rid = ?', $rexterProfile); $this->assertHttpStatus(200, $this->doQuery($query, $binding)); $records = $binding->command('SELECT FROM ' . $rexterProfile)->getResult(); $this->assertInstanceOf('\\stdClass', $records[0]->followers); $this->assertSame($davidProfile, $records[0]->followers->David); }