@After public void afterEach() throws Exception { // Shut down all repositories after each test, since multiple tests may use the same URL ... repositoryFactory.shutdown(10, TimeUnit.SECONDS); }
protected Repository repositoryFor(Map<String, String> parameters) throws RepositoryException { return repositoryFactory.getRepository(parameters); }