func NewMockStore() *MockStore {
	return &MockStore{
		cache:     map[string]entry{},
		lockCache: map[string]*MockLock{},
		elapsed:   0 * time.Second,
	}
}
NewMockStore creates a MockStore
package tests
import (
	"context"
	"fmt"
	"time"
	"github.com/oauth2-proxy/oauth2-proxy/v7/pkg/apis/sessions"
)
type entry struct {
	data       []byte
	expiration time.Duration
}
type MockStore struct {
	cache     map[string]entry
	lockCache map[string]*MockLock
	elapsed   time.Duration
}