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

This commit is contained in:
jasonjyu
2024-11-03 06:12:37 -05:00
committed by GitHub
parent af0b901706
commit 1575b56b98
@@ -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));
}
}