Merge pull request #2819 from BrzVlad/fix-major-log
[mono.git] / mcs / class / System.ServiceModel / Test / System.ServiceModel / FaultContractAttributeTest.cs
1 using System;
2 using System.ServiceModel;
3 using System.ServiceModel.Channels;
4 using System.ServiceModel.Description;
5 using NUnit.Framework;
6
7 namespace MonoTests.System.ServiceModel
8 {
9         [TestFixture]
10         public class FaultContractAttributeTest
11         {
12                 [Test]
13                 public void Defaults ()
14                 {
15                         var a = new FaultContractAttribute (typeof (MyDetail));
16                         Assert.AreEqual (typeof (MyDetail), a.DetailType, "#1");
17                         Assert.IsNull (a.Action, "#2");
18                         Assert.IsNull (a.Name, "#3");
19                         Assert.IsNull (a.Namespace, "#4");
20                 }
21
22                 class MyDetail
23                 {
24                 }
25         }
26 }