aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-model/src/test/java/org/openecomp/sdc/be/model/jsontitan/utils/InterfaceUtilsTest.java
blob: fbf01bc91d0047ee216d3f7478ffe6227debbf9c (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
package org.openecomp.sdc.be.model.jsontitan.utils;

import org.junit.Test;
import org.openecomp.sdc.be.model.InterfaceDefinition;
import org.openecomp.sdc.be.model.Operation;
import org.openecomp.sdc.be.model.Resource;

import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Optional;

public class InterfaceUtilsTest {

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

	
	@Test
	public void testGetInterfaceDefinitionFromToscaName() throws Exception {
		Collection<InterfaceDefinition> interfaces = null;
		String resourceName = "";
		Optional<InterfaceDefinition> result;

		// default test
		result = InterfaceUtils.getInterfaceDefinitionFromToscaName(interfaces, resourceName);
	}

	
	@Test
	public void testGetInterfaceDefinitionListFromToscaName() throws Exception {
		Collection<InterfaceDefinition> interfaces = null;
		String resourceName = "";
		Collection<InterfaceDefinition> result;

		// default test
		result = InterfaceUtils.getInterfaceDefinitionListFromToscaName(interfaces, resourceName);
	}

	
	@Test
	public void testCreateInterfaceToscaResourceName() throws Exception {
		String resourceName = "";
		String result;

		// default test
		result = InterfaceUtils.createInterfaceToscaResourceName(resourceName);
	}
}