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 AndroidVariant androidVariant = new AndroidVariant();
androidVariant.setGoogleKey("123");
androidVariant.setVariantID("231543432432");