@Test
public void testMapDataModel() throws IOException, ClassNotFoundException
{
Map<String, Person> map = new HashMap<String, Person>();
map.put("0", new Person("Gavin"));
map.put("1", new Person("Tom"));
javax.faces.model.DataModel mapDataModel = new MapDataModel();
assert mapDataModel.getRowCount() == -1;
assert mapDataModel.getRowData() == null;