public void Invoke_InstanceTwoTypes_NullFunction() { Assert.Throws(typeof(ArgumentNullException), () => { var action = new RemoteFunc<int, int>(); action.Invoke(1, null); }); }