public function testPutIfMatchPrecondition() { $p1 = new Path('/admin/messages/foo/hello.txt'); $this->r->putDocument($p1, 'text/plain', 'Hello World'); $this->r->putDocument($p1, 'text/plain', 'Hello World', array('incorrect version')); }