You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
417 B
18 lines
417 B
using Dto;
|
|
|
|
namespace TestEF.Dto;
|
|
|
|
public class TestBlackListDto
|
|
{
|
|
private const string _email = "email@email.com";
|
|
private DateOnly _date = new DateOnly(2025,01,21);
|
|
|
|
|
|
[Fact]
|
|
public void TestConstructorWithAllAttributes()
|
|
{
|
|
BlackListDto inquiry = new BlackListDto(_email,_date);
|
|
Assert.Equal(_email, inquiry.Email);
|
|
Assert.Equal(_date, inquiry.ExpirationDate);
|
|
}
|
|
} |