New test.
[mono.git] / mcs / class / System.Web.Services / Test / System.Web.Services.Description / SoapOperationBindingTest.cs
1 //
2 // MonoTests.System.Web.Services.Description.SoapOperationBindingTest.cs
3 //
4 // Author:
5 //   Erik LeBel <eriklebel@yahoo.ca>
6 //
7 // (C) 2003 Erik LeBel
8 //
9
10 using NUnit.Framework;
11
12 using System;
13 using System.Web.Services.Description;
14
15 namespace MonoTests.System.Web.Services.Description
16 {
17         [TestFixture]
18         public class SoapOperationBindingTest
19         {
20                 SoapOperationBinding sob;
21
22                 [SetUp]
23                 public void InitializeSoapOperationBinding()
24                 {
25                         sob = new SoapOperationBinding();
26                 }
27
28                 [Test]
29                 public void TestDefaultProperties()
30                 {
31                         Assertion.AssertEquals(String.Empty, sob.SoapAction);
32                         Assertion.AssertEquals(SoapBindingStyle.Default, sob.Style);
33                         Assertion.AssertEquals(false, sob.Required);
34                         Assertion.AssertNull(sob.Parent);
35                         Assertion.AssertEquals(false, sob.Handled);
36                 }
37         }
38 }