#region ========================================================================= USING ===================================================================================== using Nemera.Application.Common.Infrastructure.Authentication; using System; using System.Diagnostics.CodeAnalysis; #endregion namespace Nemera.DataAccess.UnitTests.Common.Setup; /// /// Fake service for retrieving the current user's information during tests. /// [ExcludeFromCodeCoverage] public class TestCurrentUserService : ICurrentUserService { private Guid userId; public Guid? UserId => userId; /// /// Sets the test value of the user id. /// /// The user id to use during tests. public void SetUserId(Guid userId) { this.userId = userId; } }