summaryrefslogtreecommitdiffstats
path: root/asdctool/src/test/java/org/openecomp/sdc/asdctool/migration/core/task/MigrationResultTest.java
blob: 04a8bd213b195cd4e3a8cc142dbbd28d721d72a9 (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
package org.openecomp.sdc.asdctool.migration.core.task;

import org.junit.Test;
import org.openecomp.sdc.asdctool.migration.core.task.MigrationResult.MigrationStatus;


public class MigrationResultTest {

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

	
	@Test
	public void testGetMsg() throws Exception {
		MigrationResult testSubject;
		String result;

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

	
	@Test
	public void testSetMsg() throws Exception {
		MigrationResult testSubject;
		String msg = "";

		// default test
		testSubject = createTestSubject();
		testSubject.setMsg(msg);
	}

	
	@Test
	public void testGetMigrationStatus() throws Exception {
		MigrationResult testSubject;
		MigrationStatus result;

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

	
	@Test
	public void testSetMigrationStatus() throws Exception {
		MigrationResult testSubject;
		MigrationStatus migrationStatus = null;

		// default test
		testSubject = createTestSubject();
		testSubject.setMigrationStatus(migrationStatus);
	}
}