func MockBucket(root string) *Mock {
	return &Mock{
		db: local.Open(local.NewDefaultOptions(root)),
	}
}
MockBucket creates a new mock Bucket using fsdb.
package bucket
import (
	"context"
	"io"
	"sync"
	"time"
	"github.com/fishy/fsdb"
	"github.com/fishy/fsdb/local"
)
var _ Bucket = (*Mock)(nil)
type MockOperationDelay struct {
	Before time.Duration
	After time.Duration
	Total time.Duration
}
type Mock struct {
	db fsdb.Local
	ReadDelay   MockOperationDelay
	WriteDelay  MockOperationDelay
	DeleteDelay MockOperationDelay
}