buys.add(buy2);
buys.add(buy3);
AddressComplex address = new AddressComplex("unnamed street", 123);
Customer customer = new Customer("Diego", "Sarmentero",
"diego.sarmentero@gmail.com", address, buys);
System.out.println(admin.save(customer));
Customer customer2 = new Customer();
admin.obtain(customer2).If("name").equal("Diego").find();
System.out.println(customer2.getEmail().equals("diego.sarmentero@gmail.com"));
System.out.println(customer2.getBuy().size() > 2);
System.out.println(((Buy)customer2.getBuy().get(0)).getCodes().size() > 1);
}