using ZB.MOM.WW.Secrets.Abstractions;
namespace ZB.MOM.WW.Secrets.Tests.Fakes;
///
/// An test double that reports a fixed (or null) actor.
///
public sealed class FixedActorAccessor : ISecretActorAccessor
{
/// Creates an accessor that always reports .
/// The actor to report, or null.
public FixedActorAccessor(string? actor) => CurrentActor = actor;
///
public string? CurrentActor { get; }
}