aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/java/org/openecomp/sdc/be/distribution/api/client/TopicRegistrationResponseTest.java
blob: 88d4959c25c5918461e220a49a8d15abe85e65c5 (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 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();
	}
}