aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/policy/rest/RequestDetailsTest.java
blob: 3c17a66a0a4e1bbc2ac258f9b13e224331ab6506 (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
package org.onap.vid.policy.rest;

import org.junit.Test;


public class RequestDetailsTest {

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


	@Test
	public void testGetPolicyName() throws Exception {
		RequestDetails testSubject;
		String result;

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


	@Test
	public void testSetPolicyName() throws Exception {
		RequestDetails testSubject;
		String policyName = "";

		// default test
		testSubject = createTestSubject();
		testSubject.setPolicyName(policyName);
	}
}