Installation android1 = new Installation();
android1.setAlias("foo@bar.org");
android1.setDeviceToken(DEVICE_TOKEN_1);
android1.setDeviceType("Android Phone");
final Set<Category> categoriesOne = new HashSet<Category>();
categoriesOne.add(new Category("soccer"));
android1.setCategories(categoriesOne);
installationDao.create(android1);
Installation android2 = new Installation();
android2.setAlias("foo@bar.org");
android2.setDeviceToken(DEVICE_TOKEN_2);
android2.setDeviceType("Android Tablet");
final Set<Category> categoriesTwo = new HashSet<Category>();
categoriesTwo.add(new Category("news"));
android2.setCategories(categoriesTwo);
installationDao.create(android2);
// disabled