result = test("{\"key1\": {\"location\": \"Sunnyvale\"}, \"key2\": {\"location\": \"MTV\"}}", RecordBarMap.class);
final DataMap dataFixture1 = new DataMap();
final DataMap dataFixture2 = new DataMap();
dataFixture1.put("location", "Sunnyvale");
dataFixture2.put("location", "MTV");
final RecordBar record1 = new RecordBar(dataFixture1);
final RecordBar record2 = new RecordBar(dataFixture2);
final Map<String, RecordBar> recordFixture = new HashMap<String, RecordBar>();
recordFixture.put("key1", record1);
recordFixture.put("key2", record2);
Assert.assertEquals(result, new RecordBarMap(recordFixture));
Assert.assertSame(result.getClass(), RecordBarMap.class);