ObjectifyGenericDAO<Company> companyDAO = new ObjectifyGenericDAO<Company>(Company.class);
ObjectifyGenericDAO<Publisher> publisherDAO = new ObjectifyGenericDAO<Publisher>(Publisher.class);
ObjectifyGenericDAO<Product> productDAO = new ObjectifyGenericDAO<Product>(Product.class);
ObjectifyGenericDAO<Resource> resourceDAO = new ObjectifyGenericDAO<Resource>(Resource.class);
ObjectifyGenericDAO<Slot> slotDAO = new ObjectifyGenericDAO<Slot>(Slot.class);
UserAccount admin = new UserAccount("mouncif.faqir@gmail.com", AuthTypes.GOOGLE);
admin.setFirstname("Mouncif");
admin.setLastname("FAQIR");
admin.setPhone("+33607677177");
admin.setEmail("mouncif.faqir@gmail.com");
admin.setLastLoginOn(calendar.getTime());
admin.setReceiveNewsLetter(true);
admin.setReceiveNotifications(true);
admin.setAccessLevel(AccessLevels.Administrator);
userAccountDAO.put(admin);
for (int i = 0; i < 2; i++) {
Company company = new Company();
company.setAccessLevel(AccessLevels.Company);
company.setLogin("company" + i + "@example.com");