Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

40 lines
853 B
C#

//
// MonoTests.System.Web.Services.Description.OperationMessageTest.cs
//
// Author:
// Erik LeBel <eriklebel@yahoo.ca>
//
// (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);
}
}
}