@Test
public void testGetFsAction(){

  FTPFileSystem ftp = new FTPFileSystem();
  int[] accesses = new int[] {FTPFile.USER_ACCESS, FTPFile.GROUP_ACCESS,
      FTPFile.WORLD_ACCESS};
  FsAction[] actions = FsAction.values();
  for(int i = 0; i < accesses.length; i++){
    for(int j = 0; j < actions.length; j++){
      enhancedAssertEquals(actions[j], ftp.getFsAction(accesses[i],
          getFTPFileOf(accesses[i], actions[j])));
    }
  }
}