Exemplo 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);

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