public void ToStringWithLineBreaks_TwoMessages_HasCorrectData()
 {
     var result = new ResultBase();
     result.AddMessage(-2, "this is the error");
     result.AddMessage(1, "this is the warning");
     result.ToStringWithLineBreaks().Should().Be("IsSuccess = False Messages:\n-2 - this is the error\n1 - this is the warning");
 }