}
}
@Test
public void testUnversionedPutReturnVersion() {
Version oldVersion = null;
Version newVersion = null;
Versioned<String> getVersioned = null;
String oldValue = null;
String newValue = null;
for(int i = 0; i < 5; i++) {
oldValue = "value" + i;
newValue = "value" + i + 1;
oldVersion = storeClient.put("key1", oldValue);
newVersion = storeClient.put("key1", newValue);
assertEquals("Version did not advance", Occurred.AFTER, newVersion.compare(oldVersion));
getVersioned = storeClient.get("key1");
verifyResults(oldVersion, newVersion, getVersioned, newValue);
}
}