@Theory
    public void emptyAndRefill(int size) {
        CaseInsensitiveStringMultiMap mmap = new CaseInsensitiveStringMultiMap(size);
        // Additional entries should be ignored
        mmap.add("a", "x").add("b", "y").add("c", "z").add("c", "XX").add("C", "X_X");
        mmap.remove("a");
        mmap.remove("b");
        mmap.remove("c");
        // Try to remove an element, even when the map is completely empty
        mmap.remove("a");
        mmap.remove("b");
        mmap.remove("c");
        Assert.assertEquals(0, mmap.size());
        mmap.add("a", "x");
        mmap.clear();
        mmap.add("a", "x");
        Assert.assertEquals(1, mmap.size());
    }
@author Marc Savy {@literal <msavy@redhat.com>}
gateway/engine/beans/src/test/java/io/apiman/gateway/engine/beans/util/CaseInsensitiveStringMultiMapTest.java