예제 #1
0
        public void testGetTypeWithKnownTypeId()
        {
            var ctx = new SafeConfigurablePofContext();

            Assert.IsTrue(typeof(Exception).Equals(ctx.GetType(0)));
        }
예제 #2
0
        public void testGetTypeWithUnknownTypeId()
        {
            var ctx = new SafeConfigurablePofContext();

            ctx.GetType(12358);
        }
예제 #3
0
        public void testGetTypeWithNegativeTypeId()
        {
            var ctx = new SafeConfigurablePofContext();

            ctx.GetType(-1);
        }