public void when_interop_set_value_variable() { server .Setup(x => x.WriteVariable("Exp1", 1, 30, userLevel)) .Returns(true); interop.SetValueVariable(1, 30, "Exp1").ShouldBeTrue(); }
public bool SetValueVariable(int VariableId, double VariableValue, string ExperimentName) { return(_interop.SetValueVariable(VariableId, VariableValue, ExperimentName)); }