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