summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaInterfaceDefinitionTest.java
blob: f3159dde8338b0c70419c3d9564d56c3ffa77123 (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
package org.openecomp.sdc.be.tosca.model;

import java.util.Map;

import org.junit.Test;

public class ToscaInterfaceDefinitionTest {

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

	@Test
	public void testGetType() throws Exception {
		ToscaInterfaceDefinition testSubject;
		String result;

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

	@Test
	public void testSetType() throws Exception {
		ToscaInterfaceDefinition testSubject;
		String type = "";

		// default test
		testSubject = createTestSubject();
		testSubject.setType(type);
	}

	@Test
	public void testGetOperations() throws Exception {
		ToscaInterfaceDefinition testSubject;
		Map<String, Object> result;

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

	@Test
	public void testSetOperations() throws Exception {
		ToscaInterfaceDefinition testSubject;
		Map<String, Object> toscaOperations = null;

		// default test
		testSubject = createTestSubject();
		testSubject.setOperations(toscaOperations);
	}
}