1 package org.openecomp.sdc.be.distribution.api.client;
5 public class TopicUnregistrationResponseTest {
7 private TopicUnregistrationResponse createTestSubject() {
8 return new TopicUnregistrationResponse("", "", CambriaOperationStatus.AUTHENTICATION_ERROR, CambriaOperationStatus.AUTHENTICATION_ERROR);
12 public void testGetDistrNotificationTopicName() throws Exception {
13 TopicUnregistrationResponse testSubject;
17 testSubject = createTestSubject();
18 result = testSubject.getDistrNotificationTopicName();
22 public void testGetDistrStatusTopicName() throws Exception {
23 TopicUnregistrationResponse testSubject;
27 testSubject = createTestSubject();
28 result = testSubject.getDistrStatusTopicName();
32 public void testGetNotificationUnregisterResult() throws Exception {
33 TopicUnregistrationResponse testSubject;
34 CambriaOperationStatus result;
37 testSubject = createTestSubject();
38 result = testSubject.getNotificationUnregisterResult();
42 public void testGetStatusUnregisterResult() throws Exception {
43 TopicUnregistrationResponse testSubject;
44 CambriaOperationStatus result;
47 testSubject = createTestSubject();
48 result = testSubject.getStatusUnregisterResult();