Map<String, String> configMap) {
// Connector manager does this in production.
TraversalContext tc = new SimpleTraversalContext();
MimeTypeDetector.setTraversalContext(tc);
DBContext dbContext = getDbContext(configMap);
TraversalContextManager traversalContextManager =
new TraversalContextManager();
traversalContextManager.setTraversalContext(tc);
RepositoryHandler repositoryHandler =