int year = 2010;
int month = 9;
int day = 1;
datas.put("birthday", year + "-" + month + "-" + day);
Date birthday = converter.get(datas, "birthday", Date.class);
Calendar calendar = Calendar.getInstance();
calendar.setTime(birthday);
assertEquals(calendar.get(Calendar.YEAR), year);
assertEquals(calendar.get(Calendar.MONTH), month - 1);
assertEquals(calendar.get(Calendar.DAY_OF_MONTH), day);
datas.put("birthday", new Date[] { birthday });
Date birthday2 = converter.get(datas, "birthday", Date.class);
assertEquals(birthday, birthday2);
}