use of org.eclipse.winery.model.tosca.yaml.TServiceTemplate in project winery by eclipse.
the class Datatypes method testNodeTemplateWithDataTypes.
@Test
public void testNodeTemplateWithDataTypes() throws Exception {
String name = "node_template-using-data_types";
String namespace = "http://www.example.com/NodeTemplateUsingDataType";
TServiceTemplate serviceTemplate = readServiceTemplate(name, namespace);
Definitions definitions = convert(serviceTemplate, name, namespace);
writeXml(definitions, name, namespace);
Assert.assertNotNull(definitions);
}
Aggregations