protected override void Context()
        {
            base.Context();
            _parameter1     = DomainHelperForSpecs.ConstantParameterWithValue(1);
            _parameter2     = DomainHelperForSpecs.ConstantParameterWithValue(2);
            _parameter3     = DomainHelperForSpecs.ConstantParameterWithValue(3);
            _parameterCache = A.Fake <PathCache <IParameter> >();
            A.CallTo(() => _parameterCache["PATH1"]).Returns(_parameter1);
            A.CallTo(() => _parameterCache["PATH2"]).Returns(_parameter2);
            A.CallTo(() => _parameterCache["PATH3"]).Returns(_parameter3);
            sut.SetValues("PATH1", new double[] { 1, 2, 3 });
            sut.SetValues("PATH2", new double[] { 4, 5, 6 });

            _cacheToMerge = new ParameterValuesCache();
            _cacheToMerge.SetValues("PATH1", new double[] { 7, 8 });
            _cacheToMerge.SetValues("PATH3", new double[] { 9, 10 });
        }
 public void should_have_created_some_random_values_for_each_distributed_parameters_defined_in_the_simulation()
 {
     A.CallTo(() => _parameterValueCache.SetValues("P1", A <IReadOnlyList <RandomValue> > ._)).MustHaveHappened();
 }