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

PostUnknownTypeThrowsOnNull() private method

private PostUnknownTypeThrowsOnNull ( ) : void
return void
        public void PostUnknownTypeThrowsOnNull()
        {
            var p = new Port<int> ();
            try {
                p.PostUnknownType (null);
                Assert.Fail ("#1");
            } catch (NullReferenceException ex) {} /*LAMEDOCS LAMEIMPL*/
        }