2 // XmltokTest.cs - NUnit Test Cases for Xmltok
5 // Sebastien Pouliot (spouliot@motus.com)
7 // (C) 2003 Motus Technologies Inc. (http://www.motus.com)
10 using NUnit
.Framework
;
11 using Microsoft
.Web
.Services
.Security
;
14 namespace MonoTests
.MS
.Web
.Services
.Security
{
17 public class XmltokTest
: Assertion
{
20 public void Constructor ()
22 Xmltok x
= new Xmltok ();
23 AssertNotNull ("Constructor", x
);
27 public void PublicConstStrings ()
29 AssertEquals ("NamespaceURI", "http://schemas.xmlsoap.org/ws/2002/08/xmltok", Xmltok
.NamespaceURI
);
30 // prefix not Prefix (like elsewhere)
31 AssertEquals ("Prefix", "tok", Xmltok
.prefix
);