aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/openecomp/vid/mso/RestMsoImplementationTest.java
blob: 1f1e339502020560b4d6944efa298f623cc498ff (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
package org.openecomp.vid.mso;

import org.apache.poi.hssf.record.formula.functions.T;
import org.junit.Test;
import org.openecomp.vid.changeManagement.RequestDetails;
import org.openecomp.vid.changeManagement.RequestDetailsWrapper;

public class RestMsoImplementationTest {

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

	@Test
	public void testInitMsoClient() throws Exception {
		RestMsoImplementation testSubject;

		// default test
		testSubject = createTestSubject();
		testSubject.initMsoClient();
	}

	@Test
	public void testLogRequest() throws Exception {
		RestMsoImplementation testSubject;
		RequestDetails r = null;

		// test 1
		testSubject = createTestSubject();
		r = null;
		testSubject.logRequest(r);
	}

	@Test
	public void testLogRequest_1() throws Exception {
		RestMsoImplementation testSubject;
		RequestDetails r = null;

		// test 1
		testSubject = createTestSubject();
		r = null;
		testSubject.logRequest(r);
	}
}