// // MonoTests.System.Web.Services.Description.OperationMessageTest.cs // // Author: // Erik LeBel // // (C) 2003 Erik LeBel // using NUnit.Framework; using System; using System.Web.Services.Description; using System.Xml; namespace MonoTests.System.Web.Services.Description { [TestFixture] public class OperationMessageTest { OperationMessage operation; [SetUp] public void InitializeOperation() { // workaround: OperationInput, OperationOutput and OperationFault are all empty derivations of OperationMessage operation = new OperationInput(); } [Test] public void TestDefaultProperties() { Assert.AreEqual (String.Empty, operation.Documentation); Assert.IsNull (operation.Name); Assert.AreEqual (XmlQualifiedName.Empty, operation.Message); Assert.IsNull (operation.Operation); } } }