code: @Override
      protected void destroyRepository() {
  
          final RepositoryImpl repository = (RepositoryImpl) getRepository();
          repository.shutdown();
          LOG.info("Destroyed repository at {}", repository.getConfig().getHomeDir());
      }
docs: Closes the admin session, and in case of local transient respository for unit test, shuts down the repository and
  cleans all temporary files.