@Override
  public UfsStatus[] listStatus(String path) throws IOException {
    return listInternal(path, ListOptions.defaults());
  }
@Test
  public void testListObjectStorageDescendantTypeNone() throws Throwable {
    mObjectUFS = new MockObjectUnderFileSystem(new AlluxioURI("/"),
        UnderFileSystemConfiguration.defaults(CONF)) {
      final UfsStatus mF1Status = new UfsFileStatus("f1", "", 0L, 0L, "", "", (short) 0777, 0L);
      final UfsStatus mF2Status = new UfsFileStatus("f2", "", 1L, 0L, "", "", (short) 0777, 0L);

      @Override
      public UfsStatus getStatus(String path) throws IOException {
        if (path.equals("root/f1")) {
          return mF1Status;
        } else if (path.equals("root/f2")) {
          return mF2Status;
        }
        throw new FileNotFoundException();
      }

      @Override
      public UfsStatus[] listStatus(String path) throws IOException {
        if (path.equals("root") || path.equals("root/")) {
          return new UfsStatus[] {mF1Status, mF2Status};
        }
        return new UfsStatus[0];
      }

      @Override
      public UfsStatus[] listStatus(String path, ListOptions options) throws IOException {
        return listStatus(path);
      }

      @Override
      protected ObjectPermissions getPermissions() {
        return new ObjectPermissions("foo", "bar", (short) 0777);
      }
    };

    UfsLoadResult result = UnderFileSystemTestUtil.performListingAsyncAndGetResult(
        mObjectUFS, "root", DescendantType.NONE);
    assertEquals(1, result.getItemsCount());
    UfsStatus status = result.getItems().collect(Collectors.toList()).get(0);
    assertEquals("root", status.getName());
  }