System.IO.Tests.ErrorEventArgsTests.ErrorEventArgs_ctor_Null C# (CSharp) Méthode

ErrorEventArgs_ctor_Null() private méthode

private ErrorEventArgs_ctor_Null ( ) : void
Résultat void
        public void ErrorEventArgs_ctor_Null()
        {
            ErrorEventArgs args = new ErrorEventArgs(null);

            Assert.Null(args.GetException());

            // Make sure method is consistent.
            Assert.Null(args.GetException());
        }
    }