fileObject = createFileObject("/dir1", USER);
assertEquals("/dir1", fileObject.getAbsolutePath());
}
public void testShortName() {
FtpFile fileObject = createFileObject("/dir1/file2", USER);
assertEquals("file2", fileObject.getName());
fileObject = createFileObject("/dir1/", USER);
assertEquals("dir1", fileObject.getName());
fileObject = createFileObject("/dir1", USER);
assertEquals("dir1", fileObject.getName());
}