public void Test_hashCode() { // Test for method int java.text.ChoiceFormat.hashCode() ChoiceFormat f2 = new ChoiceFormat( "0#Less than one|1#one|1<Between one and two|2<Greater than two"); NUnit.Framework.Assert.IsTrue(f1.GetHashCode() == f2.GetHashCode(), "Different hash"); }