function testMove() { $fs = new Sabre_DAV_Tree_Filesystem(SABRE_TEMPDIR); $fs->move('file.txt', 'file2.txt'); $this->assertTrue(file_exists(SABRE_TEMPDIR . '/file2.txt')); $this->assertTrue(!file_exists(SABRE_TEMPDIR . '/file.txt')); $this->assertEquals('Body', file_get_contents(SABRE_TEMPDIR . '/file2.txt')); }