@Test
void transformDerivedFrom() {

    // region *** build the TopologyTemplate ***
    TTopologyTemplate topology = new TTopologyTemplate();
    topology.addNodeTemplate(nodeTemplates.get("test_node_2"));
    // endregion
    TServiceTemplate serviceTemplate = new TServiceTemplate();
    serviceTemplate.setTopologyTemplate(topology);
    EdmmConverter edmmConverter = new EdmmConverter(nodeTypes, relationshipTypes, nodeTypeImplementations,
        relationshipTypeImplementations, artifactTemplates, edmmTypeExtendsMapping, edmm1to1Mapping);
    EntityGraph transform = edmmConverter.transform(serviceTemplate);
    assertNotNull(transform);
    assertEquals(9, transform.vertexSet().size());
    assertTrue(transform.vertexSet().stream().anyMatch(entity ->
        entity instanceof ScalarEntity
            && entity.getName().equals("extends")
            && ((ScalarEntity) entity).getValue().equals("software_component")));
}