@Test
    public void testSimple() {
        ListMap<String, String> stringMap = new ListMap<>();
        stringMap.put("foo", "bar");
        stringMap.put("foo", "far");
        stringMap.put("bar", "rab");

        List<String> fooValues = stringMap.get("foo");
        assertEquals(2, fooValues.size());
        assertEquals("bar", fooValues.get(0));
        assertEquals("far", fooValues.get(1));

        List<String> barValues = stringMap.get("bar");
        assertEquals(1, barValues.size());
        assertEquals("rab", barValues.get(0));
    }
@author <a href="mailto:einarmr@yahoo-inc.com">Einar M R Rosenvinge</a>
vespajlib/src/test/java/com/yahoo/collections/ListMapTestCase.java