@Test
public void testListingUnmodifiable() {

  Path path = new Path("/path");
  DirListingMetadata meta = makeTwoDirsOneFile(path);
  assertNotNull(meta.getListing());
  exception.expect(UnsupportedOperationException.class);
  meta.getListing().clear();
}