2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / class / Microsoft.Web.Services / Test / Microsoft.Web.Services.Timestamp / TimestampFormatExceptionTest.cs
1 //
2 // TimestampFormatExceptionTest.cs - NUnit Test Cases for TimestampFormatException
3 //
4 // Author:
5 //      Sebastien Pouliot (spouliot@motus.com)
6 //
7 // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com)
8 //
9
10 using NUnit.Framework;
11 using Microsoft.Web.Services.Timestamp;
12 using System;
13 using System.Xml;
14
15 // note: due to compiler confusion between classes and namespace (like Timestamp)
16 // I renamed the test namespace from "MonoTests.Microsoft.Web.Services.Timestamp"
17 // to "MonoTests.MS.Web.Services.Timestamp".
18 namespace MonoTests.MS.Web.Services.Timestamp {
19
20         [TestFixture]
21         public class TimestampFormatExceptionTest : Assertion {
22
23                 [Test]
24                 public void Constructor () 
25                 {
26                         string msg = "message";
27                         TimestampFormatException e = new TimestampFormatException (msg);
28                         AssertEquals ("Message", msg, e.Message);
29                 }
30         }
31 }