public void Invoking_a_function_with_an_ref_param_sets_the_value() { int actual = -1; DynamicValue.MethodWithRefParameter( ref actual ); Assert.AreEqual( 42, actual ); }