System.Net.Mime.Tests.ContentDispositionTest.Ctor_InvalidThrows C# (CSharp) Method

Ctor_InvalidThrows() private method

private Ctor_InvalidThrows ( Type exceptionType, string contentDisposition ) : void
exceptionType Type
contentDisposition string
return void
        public static void Ctor_InvalidThrows(Type exceptionType, string contentDisposition)
        {
            Assert.Throws(exceptionType, () => new ContentDisposition(contentDisposition));
        }