System.out.println(7 == prim.getInteger().size());
}
public void testDoubleCollection(){
DoublePrimitive primitive = new DoublePrimitive();
primitive.setType("double");
ArrayList doubles = new ArrayList();
doubles.add(1.55);
doubles.add(2.55);
doubles.add(3.54);
doubles.add(4.43);
doubles.add(5.23);
doubles.add(6.678);
doubles.add(7.7657);
primitive.setDoubles(doubles);
admin.save(primitive);
DoublePrimitive prim = new DoublePrimitive();
admin.obtain(prim, "type = 'double'");
System.out.println(7 == prim.getDoubles().size());
}