Exemple #1
0
        public void Clone()
        {
            var dummy = new DummySerializable {
                Value = 1
            };
            var clone = BinaryFile.Clone(dummy);

            Assert.AreNotSame(dummy, clone);
            Assert.AreEqual(dummy.Value, clone.Value);
        }