public void InvokeGetProperty() { Rectangle rectangle = new Rectangle() { Width = 10, Height = 20 }; object obj = DotNetObject.SendNativeMessage(null, rectangle, "width", null); Assert.AreEqual(10, obj); }