diff --git a/src/test/org/apache/commons/collections/map/TestFixedSizeMap.java b/src/test/org/apache/commons/collections/map/TestFixedSizeMap.java index 873d88a5c..8ffb22c4d 100644 --- a/src/test/org/apache/commons/collections/map/TestFixedSizeMap.java +++ b/src/test/org/apache/commons/collections/map/TestFixedSizeMap.java @@ -19,6 +19,8 @@ package org.apache.commons.collections.map; import java.util.HashMap; import java.util.Map; +import org.apache.commons.collections.IterableMap; + import junit.framework.Test; import junit.framework.TestSuite; @@ -31,7 +33,7 @@ import junit.framework.TestSuite; * * @author Stephen Colebourne */ -public class TestFixedSizeMap extends AbstractTestMap { +public class TestFixedSizeMap extends AbstractTestIterableMap { public TestFixedSizeMap(String testName) { super(testName); @@ -46,16 +48,16 @@ public class TestFixedSizeMap extends AbstractTestMap { junit.textui.TestRunner.main(testCaseName); } - public Map makeEmptyMap() { - return FixedSizeMap.decorate(new HashMap()); + public IterableMap makeObject() { + return FixedSizeMap.decorate(new HashMap()); } - public Map makeFullMap() { - Map map = new HashMap(); + public IterableMap makeFullMap() { + Map map = new HashMap(); addSampleMappings(map); return FixedSizeMap.decorate(map); } - + public boolean isPutAddSupported() { return false; }