Ejemplo n.º 1
0
        public void GivenAnInstanceThenAllPropertiesAreSerialized()
        {
            var           sequence     = new EventSequence(3);
            EventSequence deserialized = sequence.Clone();

            Assert.Equal(sequence.Sequence, deserialized.Sequence);
            Assert.Equal(sequence.TimeStamp, deserialized.TimeStamp);
            Assert.NotSame(sequence, deserialized);
        }