1 package org.openecomp.sdc.be.tosca;
6 import org.openecomp.sdc.be.datatypes.enums.ComponentTypeEnum;
7 import org.openecomp.sdc.be.model.Component;
8 import org.openecomp.sdc.be.model.Resource;
10 public class ToscaUtilsTest {
13 public void testIsComplexVfc() throws Exception {
14 Component component = new Resource();
15 component.setComponentType(ComponentTypeEnum.RESOURCE);
19 ToscaUtils.isComplexVfc(component);
24 public void testObjectToMap() throws Exception {
25 Object objectToConvert = null;
26 Object obj = new Object();
27 Map<String, Object> result;
30 ToscaUtils.objectToMap(objectToConvert, obj.getClass());