#region ========================================================================= USING =====================================================================================
using Lumina.Application.Common.Infrastructure.Authentication;
using System;
#endregion
namespace Lumina.DataAccess.UnitTests.Common.Setup;
///
/// Fake service for retrieving the current user's information during tests.
///
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;
}
}