/**
* @covers LinkORB\Component\Etcd\Client::update
* @expectedException \LinkORB\Component\Etcd\Exception\KeyNotFoundException
*/
public function testUpdate()
{
$key = '/testupdate_key';
$value1 = 'value1';
$value2 = 'value2';
$this->client->update($key, $value1);
$this->client->set($key, $value2);
$value = $this->client->get($key);
$this->assertEquals('value2', $value);
}