protected override async Task Context() { await base.Context(); _snapshot = await sut.MapToSnapshot(_parameterIdentificationConfiguration); _newAlgorithmProperties = new OptimizationAlgorithmProperties("HOLA"); _newRunMode = new MultipleParameterIdentificationRunMode(); A.CallTo(() => _algorithmMapper.MapToModel(_snapshotAlgorithmProperties, A <SnapshotContext> ._)).Returns(_newAlgorithmProperties); A.CallTo(() => _parameterIdentificationRunModeMapper.MapToModel(_snapshotRunMode, A <SnapshotContext> ._)).Returns(_newRunMode); _parameterIdentification = new ParameterIdentification(); _newParameterConfiguration = _parameterIdentification.Configuration; }