Esempio n. 1
0
        public void UnknownOperationMessage()
        {
            var t_Exception = new UnknownOperation("Foobar");

            t_Exception.Message
            .Should()
            .Be("Foobar");
        }
Esempio n. 2
0
        public void UnknownOperationMessageInnerException()
        {
            var t_Exception = new UnknownOperation("Foobar", new Exception("Foobar2"));

            t_Exception.Message
            .Should()
            .Be("Foobar");

            t_Exception.InnerException
            .Should()
            .NotBeNull();

            t_Exception.InnerException.Message
            .Should()
            .Be("Foobar2");
        }