diff options
Diffstat (limited to 'appc-core/appc-common-bundle')
-rw-r--r-- | appc-core/appc-common-bundle/src/test/java/org/onap/appc/util/TestStructuredPropertyHelper.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/appc-core/appc-common-bundle/src/test/java/org/onap/appc/util/TestStructuredPropertyHelper.java b/appc-core/appc-common-bundle/src/test/java/org/onap/appc/util/TestStructuredPropertyHelper.java index 49ca5a152..2011aa77c 100644 --- a/appc-core/appc-common-bundle/src/test/java/org/onap/appc/util/TestStructuredPropertyHelper.java +++ b/appc-core/appc-common-bundle/src/test/java/org/onap/appc/util/TestStructuredPropertyHelper.java @@ -259,8 +259,11 @@ public class TestStructuredPropertyHelper { Node node1 = new Node(); node1.setName("testName"); node1.setValue("testValue"); - assertTrue(node0.equals(node1)); - } + assertTrue(node0.equals(node1)); + assertFalse(node0.equals(null)); + node0.setValue(null); + assertFalse(node0.equals(node1)); + } @Test public void testEqualsWithSameNameAndDifferentValue() |