Example #1
0
        public void TestProtoIncludeWithStringKnownTypeName()
        {
            NamedProtoInclude.Foo foo = new NamedProtoInclude.Bar();
            var clone = Serializer.DeepClone(foo);

            Assert.IsInstanceOfType(typeof(NamedProtoInclude.Bar), foo);
        }
Example #2
0
        public void TestProtoIncludeWithStringKnownTypeName()
        {
            NamedProtoInclude.Foo foo = new NamedProtoInclude.Bar();
            var clone = Serializer.DeepClone(foo);

            Assert.IsType <NamedProtoInclude.Bar>(clone);
        }
Example #3
0
        public void TestProtoIncludeWithStringKnownTypeName()
        {
            NamedProtoInclude.Foo foo = new NamedProtoInclude.Bar();
            var clone = Serializer.DeepClone(foo);

            Assert.IsInstanceOfType(typeof(NamedProtoInclude.Bar), foo);
        }