public void testModifyCollection(){
Collection1 test = new Collection1();
test.setName("name");
Collection2 t1 = new Collection2();
t1.setDescription("description1");
Collection2 t2 = new Collection2();
t2.setDescription("description2");
Collection2 t3 = new Collection2();
t3.setDescription("description3");
ArrayList array = new ArrayList();
array.add(t1);
array.add(t2);
array.add(t3);
test.setCollection2(array);
System.out.println(admin.save(test));
System.out.println(admin.obtain(test, "name = 'name'"));
Collection2 t = new Collection2();
t.setDescription("description added");
test.getCollection2().add(t);
System.out.println(admin.modify(test));
Collection1 tt = new Collection1();