summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ServiceDistributionRespInfoTest.java
blob: 329db3bc4d252a3111cb62523650d77d07653716 (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
package org.openecomp.sdc.be.externalapi.servlet.representation;

import org.junit.Test;

public class ServiceDistributionRespInfoTest {

	private ServiceDistributionRespInfo createTestSubject() {
		return new ServiceDistributionRespInfo();
	}

	@Test
	public void testCtr() throws Exception {
		new ServiceDistributionRespInfo("mock");
	}
	
	@Test
	public void testGetDistributionId() throws Exception {
		ServiceDistributionRespInfo testSubject;
		String result;

		// default test
		testSubject = createTestSubject();
		result = testSubject.getDistributionId();
	}

	@Test
	public void testSetDistributionId() throws Exception {
		ServiceDistributionRespInfo testSubject;
		String distributionId = "";

		// default test
		testSubject = createTestSubject();
		testSubject.setDistributionId(distributionId);
	}
}