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