public void NSTextInputClient_ShouldGetFirstRect() { NSRange range; var rect = textView.GetFirstRect(new NSRange(12, 18), out range); Assert.AreEqual(rect, new CGRect(0, 0, 12, 14), "NSTextInputClient_ShouldGetFirstRect - Returned wrong rect"); Assert.AreEqual(range, new NSRange(10, 4), "NSTextInputClient_ShouldGetFirstRect - Returned wrong Range"); }