Example #1
0
        protected override async Task Context()
        {
            await base.Context();

            _snapshot = await sut.MapToSnapshot(_parameterIdentificationConfiguration);

            _newParameterConfiguration = new ParameterIdentificationConfiguration();
            _newAlgorithProperties     = new OptimizationAlgorithmProperties("HOLA");
            _newRunMode = new MultipleParameterIdentificationRunMode();
            A.CallTo(() => _algorithmMapper.MapToModel(_snapshotAlgorithmProperties)).Returns(_newAlgorithProperties);
            A.CallTo(() => _parameterIdentificationRunModeMapper.MapToModel(_snapshotRunMode)).Returns(_newRunMode);
        }
Example #2
0
        protected override async Task Context()
        {
            await base.Context();

            _standardRunMode = new StandardParameterIdentificationRunMode();
        }