/*
 * test_root
 *  -- test
 *  -- -- test-sub
 *  -- test 2
 */
$t->info('Move folder');
$folder2->move($folder);
$folder2->refresh();
/*
 * test_root
 *  -- test
 *  -- -- test 2
 *  -- -- test-sub
 */
$t->is($folder2->getRelativePath(), 'test_root/test/test2/', '->getRelativePath()');
$t->is($folder2->getNode()->getPath('/', true), 'test_root/test/test2', 'Folder has right path');
$t->ok($fs->is_dir($folder2->getRelativePath()), 'Folder exists in filesystem');
$t->info('Move folder deeper');
$folder2->move($sub);
$folder2->refresh();
/*
 * test_root
 *  -- test
 *  -- -- test-sub
 *  -- -- -- test 2
 */
$t->is($folder2->getRelativePath(), 'test_root/test/test-sub/test2/', '->getRelativePath()');
$t->is($folder2->getNode()->getPath('/', true), 'test_root/test/test-sub/test2', 'Folder has right path');
$t->ok($fs->is_dir($folder2->getRelativePath()), 'Folder exists in filesystem');
$t->info('Synchronize folder');