result = test("[{\"location\": \"Sunnyvale\"}, {\"location\": \"Mountain View\"}]", RecordBarArray.class);
final DataMap dataFixture1 = new DataMap();
final DataMap dataFixture2 = new DataMap();
dataFixture1.put("location", "Sunnyvale");
dataFixture2.put("location", "Mountain View");
Assert.assertEquals(result, new RecordBarArray(Arrays.asList(new RecordBar(dataFixture1), new RecordBar(dataFixture2))));
Assert.assertSame(result.getClass(), RecordBarArray.class);
}