@Test
public void testListStatusNestedNonRecursive() throws IOException {

  Configuration conf = new Configuration();
  conf.setInt(FileInputFormat.LIST_STATUS_NUM_THREADS, numThreads);
  List<Path> expectedPaths = configureTestNestedNonRecursive(conf, localFs);
  Job job  = Job.getInstance(conf);
  FileInputFormat<?, ?> fif = new TextInputFormat();
  List<FileStatus> statuses = fif.listStatus(job);
  verifyFileStatuses(expectedPaths, statuses, localFs);
}