public void when_interop_GetVariables_expriment_and_return_the_alone_changedVariables() { varsReturn1 = new Dictionary <int, double>() { { 1, 20.0D }, { 2, 10 }, { 3, 5 } }; callback = interop.CallbackAction; server .Setup(x => x.RequestVariables("Exp1", callback, userLevel)) .Returns(true) .Callback(CallbackMockRequestVariables); interop.GetVariablesExperiment("Exp1").SequenceEqual(varsReturn1); interop.GetVariablesExperiment("Exp1").SequenceEqual(new Dictionary <int, double>()); }
public Dictionary <int, double> GetVariableExperiment(string name) { string SessionId = OperationContext.Current.SessionId; return(_interop.GetVariablesExperiment(name)); }
public Dictionary <int, double> GetVariableExperiment(string name) { return(_interop.GetVariablesExperiment(name)); }