summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/java/org/openecomp/sdc/be/distribution/api/client/TopicRegistrationResponseTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-be/src/test/java/org/openecomp/sdc/be/distribution/api/client/TopicRegistrationResponseTest.java')
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/distribution/api/client/TopicRegistrationResponseTest.java50
1 files changed, 50 insertions, 0 deletions
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/distribution/api/client/TopicRegistrationResponseTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/distribution/api/client/TopicRegistrationResponseTest.java
new file mode 100644
index 0000000000..88d4959c25
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/distribution/api/client/TopicRegistrationResponseTest.java
@@ -0,0 +1,50 @@
+package org.openecomp.sdc.be.distribution.api.client;
+
+import org.junit.Test;
+
+public class TopicRegistrationResponseTest {
+
+ private TopicRegistrationResponse createTestSubject() {
+ return new TopicRegistrationResponse();
+ }
+
+ @Test
+ public void testSetDistrNotificationTopicName() throws Exception {
+ TopicRegistrationResponse testSubject;
+ String distrNotificationTopicName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistrNotificationTopicName(distrNotificationTopicName);
+ }
+
+ @Test
+ public void testSetDistrStatusTopicName() throws Exception {
+ TopicRegistrationResponse testSubject;
+ String distrStatusTopicName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistrStatusTopicName(distrStatusTopicName);
+ }
+
+ @Test
+ public void testGetDistrNotificationTopicName() throws Exception {
+ TopicRegistrationResponse testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistrNotificationTopicName();
+ }
+
+ @Test
+ public void testGetDistrStatusTopicName() throws Exception {
+ TopicRegistrationResponse testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistrStatusTopicName();
+ }
+} \ No newline at end of file