diff --git a/granite-jmf/src/test/java/org/granite/test/jmf/TestJMFGenericMap.java b/granite-jmf/src/test/java/org/granite/test/jmf/TestJMFGenericMap.java index daec3627..6ed9db03 100644 --- a/granite-jmf/src/test/java/org/granite/test/jmf/TestJMFGenericMap.java +++ b/granite-jmf/src/test/java/org/granite/test/jmf/TestJMFGenericMap.java @@ -24,7 +24,6 @@ import java.io.IOException; import java.io.PrintStream; import java.util.EnumMap; -import java.util.HashMap; import java.util.Hashtable; import java.util.LinkedHashMap; import java.util.Map; @@ -99,7 +98,7 @@ public void testGenericCollection() throws ClassNotFoundException, IOException { map = new TreeMap(); clone = serializeDeserialize(map); - Assert.assertEquals(HashMap.class, clone.getClass()); + Assert.assertEquals(TreeMap.class, clone.getClass()); Assert.assertEquals(map.size(), clone.size()); for (Map.Entry entry : map.entrySet()) { Assert.assertTrue(clone.containsKey(entry.getKey())); @@ -111,7 +110,7 @@ public void testGenericCollection() throws ClassNotFoundException, IOException { map.put("bla", Boolean.TRUE); map.put("blu", Boolean.FALSE); clone = serializeDeserialize(map); - Assert.assertEquals(HashMap.class, clone.getClass()); + Assert.assertEquals(TreeMap.class, clone.getClass()); Assert.assertEquals(map.size(), clone.size()); for (Map.Entry entry : map.entrySet()) { Assert.assertTrue(clone.containsKey(entry.getKey()));