FileSystemTypeRegistry fileSystemTypeRegistry = new FileSystemTypeRegistry(
Collections.singletonList(new JavaFileSystemType()));
FileSystemPropertyManager propertyManager =
new TestFileSystemPropertyManager();
PathParser pathParser = new PathParser(fileSystemTypeRegistry);
TraversalContext traversalContext = new FakeTraversalContext();
MimeTypeDetector.setTraversalContext(traversalContext);
MimeTypeDetector mimeTypeDetector = new MimeTypeDetector();
DocumentContext context = new DocumentContext(
null, null, null, mimeTypeDetector, propertyManager,