Class CacheDispatcherTest
[TestFixture]
public class CacheDispatcherTest
- Inheritance
-
CacheDispatcherTest
- Inherited Members
- Extension Methods
Methods
Classify_ReturnsUnknown_ForUnrecognizedPrefix()
Verifies that Classify(string) returns Unknown when the provided cache key does not start with any recognized prefix.
[Test]
public void Classify_ReturnsUnknown_ForUnrecognizedPrefix()
GetOrSetObjectAsync_UsesCacheService_WhenAppointmentsModeIsCache()
[Test]
public Task GetOrSetObjectAsync_UsesCacheService_WhenAppointmentsModeIsCache()
Returns
GetOrSetObjectAsync_UsesCacheService_WhenKeyIsUnrecognized()
[Test]
public Task GetOrSetObjectAsync_UsesCacheService_WhenKeyIsUnrecognized()
Returns
GetOrSetObjectAsync_UsesNoCacheService_WhenPumpObservationsModeIsNone()
[Test]
public Task GetOrSetObjectAsync_UsesNoCacheService_WhenPumpObservationsModeIsNone()
Returns
GetOrSetObjectAsync_UsesRedisService_WhenPatientsModeIsRedis()
[Test]
public Task GetOrSetObjectAsync_UsesRedisService_WhenPatientsModeIsRedis()
Returns
SetUp()
Initializes the test environment by instantiating fake implementations of the Redis, in-memory, and no-op cache services, along with default CacheSettings, and constructs a CacheDispatcher under test using these dependencies.
[SetUp]
public void SetUp()