Class SimuLizarMockUtils


  • public class SimuLizarMockUtils
    extends Object
    • Constructor Detail

      • SimuLizarMockUtils

        public SimuLizarMockUtils()
    • Method Detail

      • setUpMockRuntimeStateForModelObserving

        public static Map<Class<?>,​Object> setUpMockRuntimeStateForModelObserving​(org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition pcmInstance,
                                                                                        boolean initializeRegistry)
        Creates a mocked RuntimeState providing a global pcm model instance and a resource registry. It is suggested not to use this method directly, but use the MockSimulationExtension extension for JUnit 5.
        Parameters:
        resourceEnvironmentProvider - the test model instance.
        initializeRegistry - should the ResourceRegistry be populated with simulated resource entities?