Monobjc.MessagingTests.TestVoidMessaging C# (CSharp) Method

TestVoidMessaging() private method

private TestVoidMessaging ( ) : void
return void
        public void TestVoidMessaging()
        {
            IntPtr array = objc_sendMsg_IntPtr(this.cls_NSMutableArray, this.sel_alloc);
            Assert.AreNotEqual(IntPtr.Zero, array, "NSMutableArray allocation failed");
            array = objc_sendMsg_IntPtr(array, this.sel_init);
            Assert.AreNotEqual(IntPtr.Zero, array, "NSMutableArray initialization failed");

            ObjectiveCRuntime.SendMessage(array, "release");
            Assert.IsTrue(true);
        }