}
@Test
public void variantIDUnmodifiedAfterUpdate() {
final AndroidVariant av = new AndroidVariant();
av.setGoogleKey("KEY");
av.setDeveloper("admin");
final String uuid = av.getVariantID();
variantDao.create(av);
AndroidVariant queriedVariant = (AndroidVariant) variantDao.findByVariantID(uuid);
final String primaryKey = queriedVariant.getId();
assertThat(queriedVariant.getVariantID()).isEqualTo(uuid);
assertThat(queriedVariant).isNotNull();
queriedVariant.setGoogleKey("NEW_KEY");
variantDao.update(queriedVariant);
queriedVariant = (AndroidVariant) variantDao.findByVariantID(uuid);
assertThat(queriedVariant).isNotNull();
assertThat(queriedVariant.getVariantID()).isEqualTo(uuid);
assertThat(queriedVariant.getId()).isEqualTo(primaryKey);
}