/** * @covers \Core\FileSystem\FileSystemKernel::move */ public function testFileMove() { $this->assertTrue(FileSystem::move(vfsStream::url('root/dir2/file3'), vfsStream::url('root/dir1/file3'))); $this->assertFalse(FileSystem::exists(vfsStream::url('root/dir2/file3'))); $this->assertTrue(FileSystem::exists(vfsStream::url('root/dir1/file3'))); }