@Test
public void testMsModelUtils() {

    HashMap<String, MsAttributeObject> classMap = new HashMap<>();
    ClassLoader classLoader = getClass().getClassLoader();
    File file = new File(classLoader.getResource("DKaTVESPolicy-v1802.xmi").getFile());
    MsModelUtils utils = new MsModelUtils("http://org.onap", "http://org.onap.policy");
    Map<String, MsAttributeObject> tempMap = utils.processEpackage(file.getAbsolutePath().toString(),
                    ModelType.XMI);
    classMap.putAll(tempMap);
    MsAttributeObject mainClass = classMap.get("StandardDeviationThreshold");
    String dependTemp = StringUtils.replaceEach(mainClass.getDependency(), new String[]
        { "[", "]", " " }, new String[]
        { "", "", "" });
    List<String> dependency = new ArrayList<String>(Arrays.asList(dependTemp.split(",")));
    dependency = utils.getFullDependencyList(dependency, classMap);
    String subAttribute = utils.createSubAttributes(dependency, classMap, "StandardDeviationThreshold");
    assertTrue(subAttribute != null);
}