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);
VariantMetricInformation variantSix= new VariantMetricInformation();
variantSix.setDeliveryStatus(Boolean.TRUE);
variantSix.setReceivers(2000);
variantSix.setVariantID("231543432432");
pmi1.getVariantInformations().add(variantSix);
pushMessageInformationDao.update( pmi1);
final AndroidVariant androidVariant = new AndroidVariant();
androidVariant.setGoogleKey("123");