Files
mono/mcs/class/System.ServiceModel.Web/Test/System.ServiceModel.Channels/WebBodyFormatMessagePropertyTest.cs
T
Jb Evain 982e3b35a4 move to from olive to mcs
svn path=/trunk/mcs/; revision=111188
2008-08-20 21:25:05 +00:00

22 lines
628 B
C#

using System;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.Text;
using NUnit.Framework;
namespace MonoTests.System.ServiceModel.Channels
{
[TestFixture]
public class WebBodyFormatMessagePropertyTest
{
[Test]
public void Members ()
{
WebBodyFormatMessageProperty p = new WebBodyFormatMessageProperty (WebContentFormat.Json);
Assert.AreEqual ("WebBodyFormatMessageProperty", WebBodyFormatMessageProperty.Name, "#1");
Assert.AreEqual (WebContentFormat.Json, p.Format, "#2");
Assert.AreEqual ("WebBodyFormatMessageProperty: WebContentFormat=Json", p.ToString (), "#3");
}
}
}