Skip to main content

Module mock

Module mock 

Source
Expand description

Mock implementations for testing without external dependencies. Mock implementations for testing cache operations without external dependencies.

This module provides mock implementations that can be used in tests to simulate Redis behavior without requiring a live Redis server.

Structsยง

MockCache
Mock cache implementation for testing purposes.
MockSet
Mock set implementation for testing RedisSet operations.
OperationCounts
Tracks operation counts for test verification.