5 // Atsushi Enomoto <atsushi@ximian.com>
7 // Copyright (C) 2007 Novell, Inc (http://www.novell.com)
10 using NUnit
.Framework
;
12 using System
.Globalization
;
14 using System
.Runtime
.Serialization
;
15 using System
.Runtime
.Serialization
.Formatters
.Binary
;
17 namespace MonoTests
.System
.Globalization
21 public class SortKeyTest
24 [ExpectedException (typeof (ArgumentNullException
))]
25 public void CompareNull ()
28 SortKey
.Compare (null, null);
32 [ExpectedException (typeof (ArgumentNullException
))]
33 public void CompareNull2 ()
36 SortKey
.Compare (CultureInfo
.InvariantCulture
.CompareInfo
.GetSortKey ("A"), null);