public void TestProtoIncludeWithStringKnownTypeName() { NamedProtoInclude.Foo foo = new NamedProtoInclude.Bar(); var clone = Serializer.DeepClone(foo); Assert.IsInstanceOfType(typeof(NamedProtoInclude.Bar), foo); }
public void TestProtoIncludeWithStringKnownTypeName() { NamedProtoInclude.Foo foo = new NamedProtoInclude.Bar(); var clone = Serializer.DeepClone(foo); Assert.IsType <NamedProtoInclude.Bar>(clone); }