17 lines
365 B
C#
17 lines
365 B
C#
|
using Xunit;
|
|||
|
|
|||
|
namespace Bootstrap.DataAccess
|
|||
|
{
|
|||
|
public class MessageBodyTest
|
|||
|
{
|
|||
|
[Fact]
|
|||
|
public void ToString_Ok()
|
|||
|
{
|
|||
|
var body = new MessageBody();
|
|||
|
body.Category = "UnitTest";
|
|||
|
body.Message = "UnitTest";
|
|||
|
Assert.Equal($"{body.Category}-{body.Message}", body.ToString());
|
|||
|
}
|
|||
|
}
|
|||
|
}
|