2009-06-26 Robert Jordan <robertj@gmx.net>
[mono.git] / mcs / class / System.Web.Services / Test / System.Web.Services.Description / DocumentableItemTest.cs
1 //
2 // MonoTests.System.Web.Services.Description.DocumentableItemTest.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 DocumentableItemTest
19         {
20                 DocumentableItem item;
21
22                 [SetUp]
23                 public void InitializeItem()
24                 {
25                         // workaround for base class
26                         item = new Types();
27                 }
28
29                 [Test]
30                 public void TestDefaultProperties()
31                 {
32                         Assert.AreEqual (String.Empty, item.Documentation);
33                 }
34                 
35                 [Test]
36                 public void TestNullDocumentationString()
37                 {
38                         item.Documentation = null;
39                         Assert.AreEqual (String.Empty, item.Documentation);
40                 }
41         }
42 }