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

Inline_Roundtrip() private method

private Inline_Roundtrip ( ) : void
return void
        public static void Inline_Roundtrip()
        {
            var cd = new ContentDisposition();
            Assert.False(cd.Inline);

            cd.Inline = true;
            Assert.True(cd.Inline);

            cd.Inline = false;
            Assert.False(cd.Inline);

            Assert.Empty(cd.Parameters);
        }