result = test("{\"key1\": true, \"key2\": false}", BooleanMap.class);
final Map<String, Boolean> booleanFixture = new HashMap<String, Boolean>();
booleanFixture.put("key1", true);
booleanFixture.put("key2", false);
Assert.assertEquals(result, new BooleanMap(booleanFixture));
Assert.assertSame(result.getClass(), BooleanMap.class);
result = test("{\"key1\": 1, \"key2\": 2}", IntegerMap.class);
final Map<String, Integer> integerFixture = new HashMap<String, Integer>();
integerFixture.put("key1", 1);