Пример #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);
        }