public function testMoveMovesFiles() { file_put_contents(__DIR__ . '/foo.txt', 'foo'); $files = new Filesystem(); $files->move(__DIR__ . '/foo.txt', __DIR__ . '/bar.txt'); $this->assertFileExists(__DIR__ . '/bar.txt'); $this->assertFileNotExists(__DIR__ . '/foo.txt'); @unlink(__DIR__ . '/bar.txt'); }