Microsoft.Ccr.Core.PortTest.UnRegisterThrowsOnNull C# (CSharp) Method

UnRegisterThrowsOnNull() private method

private UnRegisterThrowsOnNull ( ) : void
return void
        public void UnRegisterThrowsOnNull()
        {
            try {
                var p = new Port<int> ();
                IPortReceive ipr = p;
                ipr.UnregisterReceiver (null);
                Assert.Fail ("#1");
            } catch (ArgumentNullException){}
        }