result = test("{\"key1\": 2, \"key2\": 3}", LongMap.class);
final Map<String, Long> longFixture = new HashMap<String, Long>();
longFixture.put("key1", 2L);
longFixture.put("key2", 3L);
Assert.assertEquals(result, new LongMap(longFixture));
Assert.assertSame(result.getClass(), LongMap.class);
result = test("{\"key1\": 1.1, \"key2\": 2.2}", FloatMap.class);
final Map<String, Float> floatFixture = new HashMap<String, Float>();
floatFixture.put("key1", 1.1F);