mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 20:01:10 +00:00
27 lines
903 B
C#
27 lines
903 B
C#
#region ========================================================================= USING =====================================================================================
|
|
using Lumina.Contracts.Fixtures.Core.Requests.Authorization;
|
|
using Lumina.Contracts.Requests.Authorization;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
#endregion
|
|
|
|
namespace Lumina.Contracts.UnitTests.Requests.Authorization;
|
|
|
|
/// <summary>
|
|
/// Contains unit tests for the <see cref="GetUserRoleRequest"/> record.
|
|
/// </summary>
|
|
[ExcludeFromCodeCoverage]
|
|
public class GetUserRoleRequestTests
|
|
{
|
|
private readonly GetUserRoleRequestFixture _getUserRoleRequestFixture = new();
|
|
|
|
[Fact]
|
|
public void Constructor_WhenPassingNullUserId_ShouldReturnNullUserId()
|
|
{
|
|
// Act
|
|
GetUserRoleRequest sut = _getUserRoleRequestFixture.Create(includeUserId: false);
|
|
|
|
// Assert
|
|
Assert.Null(sut.UserId);
|
|
}
|
|
}
|