Table of Contents

Class FakeRedisService

Namespace
adas_core.Test.Services
Assembly
adas-core.Test.dll

Represents a fake or test double implementation of RedisService that also implements ICacheService, typically used to simulate Redis caching behavior in testing scenarios.

public class FakeRedisService : RedisService, ICacheService
Inheritance
FakeRedisService
Implements
Inherited Members
Extension Methods

Remarks

This class combines the inheritance of RedisService with the contract of ICacheService, allowing it to stand in for a real Redis-backed cache during unit tests or development.

Constructors

FakeRedisService()

public FakeRedisService()

Properties

LastKey

public string? LastKey { get; }

Property Value

string

WasCalled

public bool WasCalled { get; }

Property Value

bool