### Question:
IRODSFileSystem { public void close() throws JargonException { irodsSession.closeSession(); } IRODSFileSystem();  IRODSFileSystem(final IRODSProtocolManager irodsProtocolManager); static IRODSFileSystem instance(); IRODSAccessObjectFactory getIRODSAccessObjectFactory(); IRODSFileFactory getIRODSFileFactory(final IRODSAccount irodsAccount); void close(); void closeAndEatExceptions(); void close(final IRODSAccount irodsAccount); void closeAndEatExceptions(final IRODSAccount irodsAccount); Map<String, IRODSMidLevelProtocol> getConnectionMap(); IRODSSession getIrodsSession(); IRODSProtocolManager getIrodsProtocolManager(); JargonProperties getJargonProperties();  }### Answer:
@Test public void testClose() throws Exception { IRODSFileSystem irodsFileSystem = IRODSFileSystem.instance(); IRODSAccount irodsAccount = testingPropertiesHelper.buildIRODSAccountFromTestProperties(testingProperties); IRODSAccessObjectFactory irodsAccessObjectFactory = irodsFileSystem.getIRODSAccessObjectFactory(); irodsAccessObjectFactory.getDataObjectAO(irodsAccount); irodsFileSystem.close(); Assert.assertNull(irodsFileSystem.getConnectionMap()); }