aboutsummaryrefslogtreecommitdiffstats
path: root/common/src/test/java/org
diff options
context:
space:
mode:
authorBenjamin, Max (mb388a) <mb388a@us.att.com>2018-09-08 22:34:55 -0400
committerBenjamin, Max (mb388a) <mb388a@us.att.com>2018-09-08 22:35:07 -0400
commit9ce5f66414eae5084667929f63aa798826a5a15a (patch)
tree04bc615f0a45392981c19b0e9b42052361869b4c /common/src/test/java/org
parent032c4e3bffa6171e5ea0f7fd584d86cfc16ac31c (diff)
added object constructor
added Object constructor to AAIResultWrapper Change-Id: Ic1bae387a13b7b7864c2687a63532347d8f102e7 Issue-ID: SO-998 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
Diffstat (limited to 'common/src/test/java/org')
-rw-r--r--common/src/test/java/org/onap/so/client/aai/entities/AAIResultWrapperTest.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/common/src/test/java/org/onap/so/client/aai/entities/AAIResultWrapperTest.java b/common/src/test/java/org/onap/so/client/aai/entities/AAIResultWrapperTest.java
index e40c25a2e2..d4bf1b0224 100644
--- a/common/src/test/java/org/onap/so/client/aai/entities/AAIResultWrapperTest.java
+++ b/common/src/test/java/org/onap/so/client/aai/entities/AAIResultWrapperTest.java
@@ -102,8 +102,12 @@ public class AAIResultWrapperTest {
assertEquals(Optional.empty(), wrapper.asBean(GenericVnf.class));
assertEquals(true, wrapper.asMap().isEmpty());
assertEquals("{}", wrapper.toString());
-
-
}
+
+ @Test
+ public void objectConstructor() {
+ AAIResultWrapper wrapper = new AAIResultWrapper(new GenericVnf());
+ assertEquals("{}", wrapper.getJson());
+ }
}