Beispiel #1
0
        public void PaymentMethod_Copy()
        {
            var first = new PaymentMethod
            {
                Id   = 1,
                Name = "Arbitrary Payment"
            };

            var second = first.Copy();

            Assert.AreNotSame(first, second);
            Assert.IsTrue(first.Equals(second));
            Assert.IsTrue(second.Equals(first));
        }