This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-beanutils.git
The following commit(s) were added to refs/heads/master by this push:
new 5888dbe5 Add back old assertion
5888dbe5 is described below
commit 5888dbe550471632bb0970c9d7c6d25f4f01a149
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Jul 27 14:48:39 2026 +0000
Add back old assertion
---
src/test/java/org/apache/commons/beanutils2/DynaPropertyTest.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/test/java/org/apache/commons/beanutils2/DynaPropertyTest.java
b/src/test/java/org/apache/commons/beanutils2/DynaPropertyTest.java
index 1889b883..8765ce3c 100644
--- a/src/test/java/org/apache/commons/beanutils2/DynaPropertyTest.java
+++ b/src/test/java/org/apache/commons/beanutils2/DynaPropertyTest.java
@@ -19,6 +19,7 @@ package org.apache.commons.beanutils2;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
+import static org.junit.jupiter.api.Assertions.assertNotNull;
import java.util.Collection;
@@ -76,6 +77,7 @@ class DynaPropertyTest {
assertEquals(testPropertyWithNameAndTypeAndContentType,
testProperty3Duplicate);
assertFalse(testPropertyWithName.equals(testPropertyWithNameAndType));
assertFalse(testPropertyWithNameAndType.equals(testPropertyWithNameAndTypeAndContentType));
+ assertNotNull(testPropertyWithName);
assertFalse(testPropertyWithName.equals(null));
}