Search in sources :

Example 1 with StextTestFactory._createInternalScope

use of org.yakindu.sct.model.stext.test.util.StextTestFactory._createInternalScope in project statecharts by Yakindu.

the class ModelSequencertDeclarationsTest method testMapEmptyInternalScope.

/**
 * An InternalScope must be mapped to an InternalScope.
 */
@Test
public void testMapEmptyInternalScope() {
    InternalScope scope = _createInternalScope(null);
    Scope _scope = structureMapping.mapScope(scope);
    assertTrue(_scope instanceof InternalScope);
}
Also used : StextTestFactory._createInternalScope(org.yakindu.sct.model.stext.test.util.StextTestFactory._createInternalScope) InterfaceScope(org.yakindu.sct.model.stext.stext.InterfaceScope) StextTestFactory._createInterfaceScope(org.yakindu.sct.model.stext.test.util.StextTestFactory._createInterfaceScope) Scope(org.yakindu.sct.model.sgraph.Scope) InternalScope(org.yakindu.sct.model.stext.stext.InternalScope) StextTestFactory._createInternalScope(org.yakindu.sct.model.stext.test.util.StextTestFactory._createInternalScope) InternalScope(org.yakindu.sct.model.stext.stext.InternalScope) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 Scope (org.yakindu.sct.model.sgraph.Scope)1 InterfaceScope (org.yakindu.sct.model.stext.stext.InterfaceScope)1 InternalScope (org.yakindu.sct.model.stext.stext.InternalScope)1 StextTestFactory._createInterfaceScope (org.yakindu.sct.model.stext.test.util.StextTestFactory._createInterfaceScope)1 StextTestFactory._createInternalScope (org.yakindu.sct.model.stext.test.util.StextTestFactory._createInternalScope)1