public void Test___Method_GetValue___Generic() { var testee = new FuncVariable <string>() { Func = () => "foo" }; Assert.AreEqual("foo", testee.GetValue <string>()); }
public void Test___Method_GetValue() { var testee = new FuncVariable() { Func = () => 10 }; Assert.AreEqual(10, testee.GetValue <int>()); }