public function testPutDocument() { $p = new Path('/foo/bar/baz'); $d = 'Hello World!'; $this->assertEquals(array('/foo/', '/foo/bar/'), $this->document->putDocument($p, $d)); }