MockIndexOutputWrapper
class MockIndexOutputWrapper(dir: MockDirectoryWrapper, out: IndexOutput, var name: String?) : FilterIndexOutput, FailurePathProbe
Used to create an output stream that will throw an IOException on fake disk full, track max disk space actually used, and maybe throw random IOExceptions.