@@ -0,0 +1,1423 @@
+package co.nstant.in.cbor.builder;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertTrue;%0A%0Aimport java.util.List;%0A%0Aimport org.junit.Test;%0A%0Aimport co.nstant.in.cbor.CborBuilder;%0Aimport co.nstant.in.cbor.model.DataItem;%0Aimport co.nstant.in.cbor.model.Map;%0Aimport co.nstant.in.cbor.model.UnicodeString;%0A%0Apublic class MapBuilderTest %7B%0A%0A    @Test%0A    public void testMapBuilder() %7B%0A        CborBuilder builder = new CborBuilder();%0A        List%3CDataItem%3E dataItems = builder.addMap()%0A                        .put(new UnicodeString(%22key%22), new UnicodeString(%22value%22))%0A                        .put(1, true)%0A                        .put(2, %22value%22.getBytes())%0A                        .put(3, 1.0d)%0A                        .put(4, 1.0f)%0A                        .put(5, 1L)%0A                        .put(6, %22value%22)%0A                        .put(%227%22, true)%0A                        .put(%228%22, %22value%22.getBytes())%0A                        .put(%229%22, 1.0d)%0A                        .put(%2210%22, 1.0f)%0A                        .put(%2211%22, 1L)%0A                        .put(%2212%22, %22value%22)%0A                        .putMap(13)%0A                        .end()%0A                        .end()%0A                        .build();%0A        assertEquals(1, dataItems.size());%0A        assertTrue(dataItems.get(0) instanceof Map);%0A        Map map = (Map) dataItems.get(0);%0A        assertEquals(14, map.getKeys().size());%0A    %7D%0A%0A%7D%0A

Add test for MapBuilder