In .:
[mono.git] / mcs / class / corlib / Test / System / ApplicationIdentityTest.cs
index 775fd3826f36ff272a82fbec8c119a6cf37ac2d6..c4edca34c475244c4eedfbc56eae9bebbd1657a3 100644 (file)
@@ -46,8 +46,16 @@ namespace MonoTests.System {
                }
 
                [Test]
-//             [ExpectedException (typeof (ArgumentNullException))]
-               [ExpectedException (typeof (NullReferenceException))]
+               public void ApplicationIdentity_WithCulture ()
+               {
+                       ApplicationIdentity appid = new ApplicationIdentity ("Mono, Culture=fr-ca");
+                       Assert.IsNull (appid.CodeBase, "CodeBase");
+                       Assert.AreEqual ("Mono, Culture=fr-ca", appid.FullName);
+                       Assert.AreEqual ("Mono, Culture=fr-ca", appid.ToString ());
+               }
+
+               [Test]
+               [ExpectedException (typeof (ArgumentNullException))]
                public void ApplicationIdentity_Null ()
                {
                        new ApplicationIdentity (null);