System.out.println(6 == prim.getDates().size());
}
public void testBooleanCollection(){
BooleanPrimitive primitive = new BooleanPrimitive();
primitive.setType("boolean");
ArrayList booleans = new ArrayList();
booleans.add(true);
booleans.add(false);
booleans.add(true);
booleans.add(false);
booleans.add(true);
booleans.add(false);
primitive.setBooleans(booleans);
admin.save(primitive);
BooleanPrimitive prim = new BooleanPrimitive();
admin.obtain(prim, "type = 'boolean'");
System.out.println(6 == prim.getBooleans().size());
boolean sec = true;
for(Object o : prim.getBooleans()){
if(sec){
System.out.println(((Boolean)o));
sec = false;
}else{
System.out.println(!((Boolean)o));