public void testMultipleEntries() throws Exception
    {
        Map<String, String> map = newMap();
        map.put("foo", "bar");
        map.put("bar", "baz");
        map.put("one", "oooooooonnnnnnnnneeeeeeee");
        map.put("ttttttttwwwwwwwwoooooooo", "two");
        map.put("three?", "3!");

        byte[] data = toByteArray(map, SCHEMA);

        Map<String, String> mapCompare = newMap();
        mergeFrom(data, mapCompare, SCHEMA);
        assertEquals(map, mapCompare);
    }
Tests for the {@link StringMapSchema}.

@author David Yu
@created Jun 25, 2010
protostuff-collectionschema/src/test/java/io/protostuff/StringMapSchemaTest.java