Exemple #1
0
        /// <summary>
        /// Test methods exposed by the EntityHelper class.
        /// </summary>
        private void Step_20_TestEntityHelper_Generated()
        {
            using (TransactionManager tm = CreateTransaction())
            {
                mock = CreateMockInstance(tm);

                ProductReview entity = mock.Copy() as ProductReview;
                entity = (ProductReview)mock.Clone();
                Assert.IsTrue(ProductReview.ValueEquals(entity, mock), "Clone is not working");
            }
        }