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

27 lines
540 B
C#

using System;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Description;
using NUnit.Framework;
namespace MonoTests.System.ServiceModel
{
[TestFixture]
public class FaultContractAttributeTest
{
[Test]
public void Defaults ()
{
var a = new FaultContractAttribute (typeof (MyDetail));
Assert.AreEqual (typeof (MyDetail), a.DetailType, "#1");
Assert.IsNull (a.Action, "#2");
Assert.IsNull (a.Name, "#3");
Assert.IsNull (a.Namespace, "#4");
}
class MyDetail
{
}
}
}