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

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