Prepare XM for Http additions
[mono.git] / mcs / class / Novell.Directory.Ldap / Test / bug-436775_Test.cs
1 // Test.cs created with MonoDevelop
2 // User: jeroen at 14:11 19-10-2008
3
4 using System;
5 using NUnit.Framework;
6
7 namespace LDAPConnectionRefusedNUnit
8 {
9         [TestFixture()]
10         public class Test
11         {
12                 
13                 [Test()]
14                 [ExpectedException("Novell.Directory.Ldap.LdapException")]
15                 public void TestLDAPConnectionRefused()
16                 {
17                         Novell.Directory.Ldap.LdapConnection connection = new Novell.Directory.Ldap.LdapConnection();
18                         connection.Connect("localhost", 0);
19                 }
20         }
21 }