feat: Added to AbstractDocumentTest verification of originalValue in document (#3070)

This commit is contained in:
jasonjyu authored and GitHub committed 2024-11-03 13:12:37 +02:00
1 parent af0b901706
commit 1575b56b98
1 file changed
+5 -1
@@ -114,12 +114,16 @@ class AbstractDocumentTest {
final String originalValue = "originalValue";
final String updatedValue = "updatedValue";
// Initializing the value
document.put(key, originalValue);
// Verifying that the initial value is retrieved correctly
assertEquals(originalValue, document.get(key));
// Updating the value
document.put(key, updatedValue);
//Verifying that the updated value is retrieved correctly
// Verifying that the updated value is retrieved correctly
assertEquals(updatedValue, document.get(key));
}
}