summaryrefslogtreecommitdiffstats
path: root/adaptors/aai-service/provider/src/test/java/org/onap/ccsdk/sli/adaptors/aai/data/notify/NotifyEventTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'adaptors/aai-service/provider/src/test/java/org/onap/ccsdk/sli/adaptors/aai/data/notify/NotifyEventTest.java')
-rw-r--r--adaptors/aai-service/provider/src/test/java/org/onap/ccsdk/sli/adaptors/aai/data/notify/NotifyEventTest.java53
1 files changed, 53 insertions, 0 deletions
diff --git a/adaptors/aai-service/provider/src/test/java/org/onap/ccsdk/sli/adaptors/aai/data/notify/NotifyEventTest.java b/adaptors/aai-service/provider/src/test/java/org/onap/ccsdk/sli/adaptors/aai/data/notify/NotifyEventTest.java
new file mode 100644
index 000000000..cb026c001
--- /dev/null
+++ b/adaptors/aai-service/provider/src/test/java/org/onap/ccsdk/sli/adaptors/aai/data/notify/NotifyEventTest.java
@@ -0,0 +1,53 @@
+package org.onap.ccsdk.sli.adaptors.aai.data.notify;
+
+import static org.junit.Assert.*;
+
+import org.junit.BeforeClass;
+import org.junit.Test;
+
+public class NotifyEventTest {
+
+ @BeforeClass
+ public static void setUpBeforeClass() throws Exception {
+ }
+
+ @Test
+ public void test01() {
+ String testString = "test-value";
+ NotifyEvent event = new NotifyEvent();
+ event.setAdditionalProperty("test-key", testString);
+ assertEquals(event.getAdditionalProperties().get("test-key"), testString);
+ }
+
+ @Test
+ public void test02() {
+ String testString = "test-value";
+ NotifyEvent event = new NotifyEvent();
+ event.setSelflink(testString);
+ assertEquals(event.getSelflink(), testString);
+ }
+
+ @Test
+ public void test03() {
+ String testString = "test-value";
+ NotifyEvent event = new NotifyEvent();
+ event.setEventId(testString);
+ assertEquals(event.getEventId(), testString);
+ }
+
+ @Test
+ public void test04() {
+ String testString = "test-value";
+ NotifyEvent event = new NotifyEvent();
+ event.setEventTrigger(testString);
+ assertEquals(event.getEventTrigger(), testString);
+ }
+
+ @Test
+ public void test05() {
+ String testString = "test-value";
+ NotifyEvent event = new NotifyEvent();
+ event.setNodeType(testString);
+ assertEquals(event.getNodeType(), testString);
+ }
+}