FileStatus fileStatus;
fileStatus = mock(FileStatus.class);
when(fileStatus.getPermission()).thenReturn(FsPermission.valueOf("-rwxrwxrwx"));
fs.setFileStatus("rwxrwxrwx", fileStatus);
rwxrwxrwx = new PathData("rwxrwxrwx", fs.getConf());
fileStatus = mock(FileStatus.class);
when(fileStatus.getPermission()).thenReturn(FsPermission.valueOf("-rwx------"));
fs.setFileStatus("rwx______", fileStatus);
rwx______ = new PathData("rwx______", fs.getConf());
fileStatus = mock(FileStatus.class);
when(fileStatus.getPermission()).thenReturn(FsPermission.valueOf("-r--r--r--"));
fs.setFileStatus("r__r__r__", fileStatus);
r__r__r__ = new PathData("r__r__r__", fs.getConf());
fileStatus = mock(FileStatus.class);
when(fileStatus.getPermission()).thenReturn(FsPermission.valueOf("-rwxr-----"));
fs.setFileStatus("rwxr_____", fileStatus);
rwxr_____ = new PathData("rwxr_____", fs.getConf());
fileStatus = mock(FileStatus.class);
when(fileStatus.getPermission()).thenReturn(FsPermission.valueOf("---x-w--wx"));
fs.setFileStatus("__x_w__wx", fileStatus);
__x_w__wx = new PathData("__x_w__wx", fs.getConf());
}