Assert.assertEquals(7, prim.getFloats().size());
}
@Test
public void testStringCollection(){
StringPrimitive primitive = new StringPrimitive();
primitive.setType("string");
ArrayList strings = new ArrayList();
strings.add("strings1");
strings.add("strings2");
strings.add("strings3");
strings.add("strings4");
strings.add("strings5");
strings.add("strings6");
strings.add("strings7");
primitive.setStrings(strings);
admin.save(primitive);
StringPrimitive prim = new StringPrimitive();
admin.obtain(prim, "type = 'string'");
Assert.assertEquals(7, prim.getStrings().size());
}