rikkarth commented on code in PR #412:
URL:
https://github.com/apache/commons-configuration/pull/412#discussion_r1589662940
##########
src/test/java/org/apache/commons/configuration2/TestAbstractConfiguration.java:
##########
@@ -78,6 +78,49 @@ public void testAddPropertyDirect() {
assertEquals(expected, list);
}
+ @Test
+ void testContainsValue(){
+ Configuration config = getConfiguration();
+ assertTrue(config.containsValue("value1"), "should return true for
class " + this.getClass());
+ assertFalse(config.containsValue("value99999"), "should return false
for class " + this.getClass());
+ }
+
+ @Test
+ void testContains(){
+ AbstractConfiguration config = getConfiguration();
+
Review Comment:
Corrected.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]