using ScadaLink.Commons.Interfaces.Services; namespace ScadaLink.AuditLog.Tests.TestSupport; /// /// Test fake for . Returns the configured /// verbatim — including null — so tests can /// exercise both the "stamped" and "unconfigured" branches of the SourceNode /// stamping logic in /// and . /// internal sealed class FakeNodeIdentityProvider : INodeIdentityProvider { public string? NodeName { get; } public FakeNodeIdentityProvider(string? nodeName = null) { NodeName = nodeName; } }