summaryrefslogtreecommitdiffstats
path: root/common-app-api/src/test/java/org/openecomp/sdc/common/api/ResponseInfoTest.java
blob: 50c53d05877be8b11d7f4b1e0958c21cf87bfd50 (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
51
52
53
54
55
56
57
58
59
60
61
package org.openecomp.sdc.common.api;

import javax.annotation.Generated;

import org.junit.Test;
import org.openecomp.sdc.common.api.ResponseInfo.ResponseStatusEnum;


public class ResponseInfoTest {

	private ResponseInfo createTestSubject() {
		return new ResponseInfo(null, "");
	}

	
	@Test
	public void testGetApplicativeStatus() throws Exception {
		ResponseInfo testSubject;
		ResponseStatusEnum result;

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

	
	@Test
	public void testSetApplicativeStatus() throws Exception {
		ResponseInfo testSubject;
		ResponseStatusEnum applicativeStatus = null;

		// default test
		testSubject = createTestSubject();
		testSubject.setApplicativeStatus(applicativeStatus);
	}

	
	@Test
	public void testGetDescription() throws Exception {
		ResponseInfo testSubject;
		String result;

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

	
	@Test
	public void testSetDescription() throws Exception {
		ResponseInfo testSubject;
		String description = "";

		// default test
		testSubject = createTestSubject();
		testSubject.setDescription(description);
	}

	

}