Assert.assertEquals(7, prim.getDoubles().size());
}
@Test
public void testFloatCollection(){
FloatPrimitive primitive = new FloatPrimitive();
primitive.setType("float");
ArrayList floats = new ArrayList();
floats.add(1.55);
floats.add(2.55);
floats.add(3.54);
floats.add(4.43);
floats.add(5.23);
floats.add(6.678);
floats.add(7.765);
primitive.setFloats(floats);
admin.save(primitive);
FloatPrimitive prim = new FloatPrimitive();
admin.obtain(prim, "type = 'float'");
Assert.assertEquals(7, prim.getFloats().size());
}