Ejemplo n.º 1
0
        public void testGetPofSerializerWithKnownTypeId()
        {
            var ctx = new SafeConfigurablePofContext();

            Assert.IsTrue(ctx.GetPofSerializer(1) is PortableObjectSerializer);
        }
Ejemplo n.º 2
0
        public void testGetPofSerializerWithUnknownTypeId()
        {
            var ctx = new SafeConfigurablePofContext();

            ctx.GetPofSerializer(12358);
        }
Ejemplo n.º 3
0
        public void testGetPofSerializerWithNegativeTypeId()
        {
            var ctx = new SafeConfigurablePofContext();

            ctx.GetPofSerializer(-1);
        }