diff --git a/src/test/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMapTest.java b/src/test/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMapTest.java index 1c931e10c..4a24146a5 100644 --- a/src/test/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMapTest.java +++ b/src/test/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMapTest.java @@ -948,7 +948,7 @@ public abstract class AbstractMultiValuedMapTest extends AbstractObjectTes @Test public void testKeySetSize() { final MultiValuedMap map = makeFullMap(); - assertEquals(3, map.keySet().size()); + assertEquals(getSampleKeySize(), map.keySet().size()); } @Test