Example #1
0
        public void ToString_ShouldReturnMessage_When_StatusIsAborted()
        {
            var message = "Some error";

            using (var status = Status.Aborted(message))
            {
                Assert.AreEqual($"ABORTED: {message}", status.ToString());
            }
        }