@Theory // SHOULD include multiple values if they were defined (and matching keys with preserved formatting)
    public void shouldIterateOverEntries(int size) {
        Set<Entry<String, String>> expected = expected(ent("x", "foo"), ent("hello", "goodbye"),
                ent("b", "x"), ent("B", "X"));

        CaseInsensitiveStringMultiMap mmap = new CaseInsensitiveStringMultiMap(size);
        mmap.add("x", "foo").add("hello", "goodbye").add("b", "x").add("B", "X");

        Set<Entry<String, String>> actual = toSet(StreamSupport.stream(mmap.spliterator(), false).collect(Collectors.toList()));

        Assert.assertEquals(expected, actual);
    }
@author Marc Savy {@literal <msavy@redhat.com>}
gateway/engine/beans/src/test/java/io/apiman/gateway/engine/beans/util/CaseInsensitiveStringMultiMapTest.java