System.out.println(son2.getPhones().size() == 4);
System.out.println(son2.getReference().getValueReferenceParent().equals("value from son reference parent"));
}
public void samePrimitiveCollectionTest(){
SamePrimitiveCollection same = new SamePrimitiveCollection();
same.setName("same name");
ArrayList array1 = new ArrayList();
array1.add(45345);
array1.add(64556);
array1.add(23112);
ArrayList array2 = new ArrayList();
array2.add(12);
array2.add(54);
array2.add(68);
same.setNumbers1(array1);
same.setNumbers2(array2);
System.out.println(admin.save(same));
SamePrimitiveCollection same2 = new SamePrimitiveCollection();
admin.obtain(same2).If("name").equal("same name").find();
System.out.println(same2.getNumbers1().size() == 3);
System.out.println(same2.getNumbers2().size() == 3);
System.out.println(same2.getNumbers1().get(0) == 45345);
System.out.println(same2.getNumbers2().get(1) == 54);
}