int value = 2;
final String projectKey = "PKEY";
final String version = "1.0";
daoService.createOrUpdate(userWrapper, projectKey, version, statRef, 1);
daoService.createOrUpdate(userWrapper, projectKey, version, statRef, value);
VersionStatistic versionStatistic = daoService.get(userWrapper, projectKey, version, statRef);
assertNotNull(versionStatistic);
assertEquals(value, versionStatistic.getValue());
}