blob: 54fe824a3892535975aba9fb24ccebf88680bbfa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
package org.openecomp.sdc.be.distribution.api.client;
import org.junit.Test;
public class TopicUnregistrationResponseTest {
private TopicUnregistrationResponse createTestSubject() {
return new TopicUnregistrationResponse("", "", CambriaOperationStatus.AUTHENTICATION_ERROR, CambriaOperationStatus.AUTHENTICATION_ERROR);
}
@Test
public void testGetDistrNotificationTopicName() throws Exception {
TopicUnregistrationResponse testSubject;
String result;
// default test
testSubject = createTestSubject();
result = testSubject.getDistrNotificationTopicName();
}
@Test
public void testGetDistrStatusTopicName() throws Exception {
TopicUnregistrationResponse testSubject;
String result;
// default test
testSubject = createTestSubject();
result = testSubject.getDistrStatusTopicName();
}
@Test
public void testGetNotificationUnregisterResult() throws Exception {
TopicUnregistrationResponse testSubject;
CambriaOperationStatus result;
// default test
testSubject = createTestSubject();
result = testSubject.getNotificationUnregisterResult();
}
@Test
public void testGetStatusUnregisterResult() throws Exception {
TopicUnregistrationResponse testSubject;
CambriaOperationStatus result;
// default test
testSubject = createTestSubject();
result = testSubject.getStatusUnregisterResult();
}
}
|