Exemple #1
0
        public void ToString_ShouldReturnMessage_When_StatusIsAlreadyExists()
        {
            var message = "Some error";

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