# Class NoCacheServiceTest

Namespace
  adas_core.Test.Services

Assembly
  adas-core.Test.dll

    [TestFixture]
    public class NoCacheServiceTest

Inheritance
  object
  NoCacheServiceTest

Inherited Members
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)
  object.ToString()

Extension Methods
  NumberUtils.IsNumber(object)
  NumberUtils.ToDouble(object)
  ObjectUtils.ToStr(object?)

## Methods

### CleanCache_IsNoOp_DoesNotThrow()

Verifies that calling CleanCache on the no-cache service is a safe no-op that does not throw, and that subsequent calls to GetValue consistently return `null` for any key.

    [Test]
    public void CleanCache_IsNoOp_DoesNotThrow()

### DeleteByPatternAsync_ReturnsZero_DoesNotThrow()

Verifies that the no-cache service's `DeleteByPatternAsync` returns 0 and does not throw when invoked with arbitrary patterns, confirming the no-op delete behavior for any key pattern.

    [Test]
    public Task DeleteByPatternAsync_ReturnsZero_DoesNotThrow()

#### Returns

Task

### GetOrSetObjectAsync_AlwaysCallsFactory_NeverUsesCache()

    [Test]
    public Task GetOrSetObjectAsync_AlwaysCallsFactory_NeverUsesCache()

#### Returns

Task

### GetOrSetObjectAsync_CallsFactory_ForEachUniqueKey()

    [Test]
    public Task GetOrSetObjectAsync_CallsFactory_ForEachUniqueKey()

#### Returns

Task

### GetOrSetObjectAsync_DoesNotStoreData_InAnyBackend()

Verifies that the no-cache service implementation never persists data to any backend when `GetOrSetObjectAsync` is invoked, and confirms that a subsequent `DeleteObjectAsync` on the same key does not throw.

    [Test]
    public Task GetOrSetObjectAsync_DoesNotStoreData_InAnyBackend()

#### Returns

Task

### GetValue_IsNoOp_ReturnsNull()

Verifies that the no-cache service's GetValue method returns null for any key, confirming that the no-op implementation does not return or simulate cached values.

    [Test]
    public void GetValue_IsNoOp_ReturnsNull()

### SetUp()

Initializes a fresh NoCacheService instance and assigns it to `_noCacheService` to provide a clean, dependency-free test fixture prior to executing each test.

    [SetUp]
    public void SetUp()

### SetValue_IsNoOp_DoesNotThrow()

Verifies that calling `SetValue` on the no-cache service is a no-op and does not throw any exception.

    [Test]
    public void SetValue_IsNoOp_DoesNotThrow()