Exemple #1
0
        public void ToSingleExceptionString_GivenMultipleException_ShouldDispayAsSingleString()
        {
            // arrange
            var aggregateException = new ArgumentException("Test");
            // action
            var simpleException = aggregateException.ToSingleExceptionString();

            // assert
            simpleException.Trim().Should().Be("Test");
        }