onebeyond/onebeyond-studio-core

View on GitHub
src/OneBeyond.Studio.Application.SharedKernel.Tests/AmbientContexts/TestableAmbientContext.cs

Summary

Maintainability
A
0 mins
Test Coverage
using EnsureThat;
using OneBeyond.Studio.Application.SharedKernel.AmbientContexts;

namespace OneBeyond.Studio.Application.SharedKernel.Tests.AmbientContexts;

internal sealed record TestableAmbientContext : AmbientContext
{
    public TestableAmbientContext(string stringValue)
    {
        EnsureArg.IsNotNullOrWhiteSpace(stringValue, nameof(stringValue));

        StringValue = stringValue;
    }

    public string StringValue { get; }
}