System.Net.Mail.Tests.SmtpExceptionTest.TestConstructorThrowsNull C# (CSharp) Method

TestConstructorThrowsNull() private method

private TestConstructorThrowsNull ( ) : void
return void
        public void TestConstructorThrowsNull()
        {
            Assert.Throws<ArgumentNullException>(() => new MySmtpException((SerializationInfo)null, new StreamingContext()));
        }