Example #1
0
 public void QuickIOBaseExceptionCtor1()
 {
     QuickIOBaseException ex = new TestExceptionClass( "message", "path" );
     ex.Message.Should().Be( "message" );
     ex.Path.Should().Be( "path" );
 }
Example #2
0
        public void QuickIOBaseExceptionCtor2()
        {
            Exception inner = new Exception( "InnerExMessage" );

            QuickIOBaseException ex = new TestExceptionClass( "message", "path", inner );
            ex.Message.Should().Be( "message" );
            ex.Path.Should().Be( "path" );
            ex.InnerException.Should().Be( inner );
        }