assertTrue("Local symlink file should be a SYMLINK.", FileUtil.isSymlink(localSymlinkFile));
assertEquals("Local symlink file should point to actual target.", "symlink-target", FileUtil.readSymlinkTarget(localSymlinkFile));
// Tear down
clientA.deleteTestData();
clientB.deleteTestData();
}
@Test
public void testSymlinkSyncToNonExistingFolder() throws Exception {
if (!EnvironmentUtil.symlinksSupported()) {