Moved ProviderCollectionTest.cs from System assembly to System.Configuration.
[mono.git] / mcs / class / System.ServiceModel.Web / Test / System.ServiceModel.Channels / WebBodyFormatMessagePropertyTest.cs
1 using System;
2 using System.ServiceModel;
3 using System.ServiceModel.Channels;
4 using System.Text;
5 using NUnit.Framework;
6
7 namespace MonoTests.System.ServiceModel.Channels
8 {
9         [TestFixture]
10         public class WebBodyFormatMessagePropertyTest
11         {
12                 [Test]
13                 public void Members ()
14                 {
15                         WebBodyFormatMessageProperty p = new WebBodyFormatMessageProperty (WebContentFormat.Json);
16                         Assert.AreEqual ("WebBodyFormatMessageProperty", WebBodyFormatMessageProperty.Name, "#1");
17                         Assert.AreEqual (WebContentFormat.Json, p.Format, "#2");
18                         Assert.AreEqual ("WebBodyFormatMessageProperty: WebContentFormat=Json", p.ToString (), "#3");
19                 }
20         }
21 }