public void findMostBusyVariants() {
pushMessageInformation = pushMessageInformationDao.find(pushMessageInformationID);
final String loginName = "admin";
final PushApplication pushAppInitial = new PushApplication();
pushAppInitial.setName("app");
pushAppInitial.setPushApplicationID("231231231");
pushAppInitial.setDeveloper(loginName);
entityManager.persist(pushAppInitial);
VariantMetricInformation variantOne = new VariantMetricInformation();
variantOne.setDeliveryStatus(Boolean.FALSE);
variantOne.setReceivers(200);
variantOne.setVariantID("231543432432");
pushMessageInformation.getVariantInformations().add(variantOne);
pushMessageInformationDao.update(pushMessageInformation);
VariantMetricInformation variantThree = new VariantMetricInformation();
variantThree.setDeliveryStatus(Boolean.FALSE);
variantThree.setReceivers(300);
variantThree.setVariantID("23154343243333");
pushMessageInformation.getVariantInformations().add(variantThree);
pushMessageInformationDao.update(pushMessageInformation);
VariantMetricInformation variantFour = new VariantMetricInformation();
variantFour.setDeliveryStatus(Boolean.FALSE);
variantFour.setReceivers(1000);
variantFour.setVariantID("231543432434");
pushMessageInformation.getVariantInformations().add(variantFour);
pushMessageInformationDao.update(pushMessageInformation);
final PushApplication pushApp = new PushApplication();
pushApp.setName("app");
pushApp.setPushApplicationID("231231232");
pushApp.setDeveloper(loginName);
entityManager.persist(pushApp);
PushMessageInformation pmi = new PushMessageInformation();
pmi.setPushApplicationId("231231232");
pushMessageInformationDao.create(pmi);
VariantMetricInformation variantTwo = new VariantMetricInformation();
variantTwo.setDeliveryStatus(Boolean.TRUE);
variantTwo.setReceivers(2000);
variantTwo.setVariantID("231543432432");
pmi.getVariantInformations().add(variantTwo);
pushMessageInformationDao.update(pmi);
final PushApplication pushApp1 = new PushApplication();
pushApp1.setName("app");
pushApp1.setPushApplicationID("231231233");
pushApp1.setDeveloper(loginName);
entityManager.persist(pushApp1);
PushMessageInformation pmi1 = new PushMessageInformation();
pmi1.setPushApplicationId("231231233");
pushMessageInformationDao.create(pmi);