@Test
  public void testHandleNoObjStatUnderRootOrHomeByLookingForPublicAndHome() throws Exception {
    IRODSAccount irodsAccount =
        testingPropertiesHelper.buildIRODSAccountFromTestProperties(testingProperties);

    SettableJargonProperties props =
        new SettableJargonProperties(irodsFileSystem.getJargonProperties());
    props.setDefaultToPublicIfNothingUnderRootWhenListing(true);
    irodsFileSystem.getIrodsSession().setJargonProperties(props);

    CollectionAndDataObjectListAndSearchAO collectionAndDataObjectListAndSearchAO =
        irodsFileSystem
            .getIRODSAccessObjectFactory()
            .getCollectionAndDataObjectListAndSearchAO(irodsAccount);
    CollectionListingUtils listingUtils =
        new CollectionListingUtils(collectionAndDataObjectListAndSearchAO);

    String path = "/";
    ObjStat objStat = listingUtils.handleNoObjStatUnderRootOrHomeByLookingForPublicAndHome(path);
    Assert.assertNotNull(objStat);
    Assert.assertTrue(objStat.isStandInGeneratedObjStat());
    Assert.assertEquals(path, objStat.getAbsolutePath());
  }
 @Before
 public void before() throws Exception {
   // be sure that normal parallel stuff is set up
   irodsFileSystem.getIrodsSession().setJargonProperties(jargonOriginalProperties);
 }