Monobjc.Foundation.NSNotificationTests.TestNotificationBySelector C# (CSharp) Method

TestNotificationBySelector() private method

private TestNotificationBySelector ( ) : void
return void
        public void TestNotificationBySelector()
        {
			MyListener listener = new MyListener();
			
			mre = new ManualResetEvent(false);
			new Thread(this.Notify).Start();
			mre.WaitOne(5000);
			
			Assert.IsTrue(listener.Notified, "Listener must be notified");
			
			listener.Release();
		}