System.Net.Mail.Tests.AttachmentTest.TestNullStream C# (CSharp) Method

TestNullStream() private method

private TestNullStream ( ) : void
return void
        public void TestNullStream()
        {
            Stream s = null;
            Assert.Throws<ArgumentNullException>(() => new Attachment(s, "application/octet-stream"));
        }