We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af0b901 commit 1575b56Copy full SHA for 1575b56
abstract-document/src/test/java/com/iluwatar/abstractdocument/AbstractDocumentTest.java
@@ -114,12 +114,16 @@ void shouldUpdateExistingValue() {
114
final String originalValue = "originalValue";
115
final String updatedValue = "updatedValue";
116
117
+ // Initializing the value
118
document.put(key, originalValue);
119
120
+ // Verifying that the initial value is retrieved correctly
121
+ assertEquals(originalValue, document.get(key));
122
+
123
// Updating the value
124
document.put(key, updatedValue);
125
- //Verifying that the updated value is retrieved correctly
126
+ // Verifying that the updated value is retrieved correctly
127
assertEquals(updatedValue, document.get(key));
128
}
129
0 commit comments