Assert.assertEquals(7, prim.getStrings().size());
}
@Test
public void testDateCollection(){
DatePrimitive primitive = new DatePrimitive();
primitive.setType("date");
ArrayList dates = new ArrayList();
dates.add(new java.sql.Date(105, 4, 20));
dates.add(new java.sql.Date(105, 4, 21));
dates.add(new java.sql.Date(105, 4, 22));
dates.add(new java.sql.Date(105, 4, 23));
dates.add(new java.sql.Date(105, 4, 24));
dates.add(new java.sql.Date(105, 4, 25));
primitive.setDates(dates);
admin.save(primitive);
DatePrimitive prim = new DatePrimitive();
admin.obtain(prim, "type = 'date'");
Assert.assertEquals(6, prim.getDates().size());
}