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

                SpecialOfferProduct entity = mock.Copy() as SpecialOfferProduct;
                entity = (SpecialOfferProduct)mock.Clone();
                Assert.IsTrue(SpecialOfferProduct.ValueEquals(entity, mock), "Clone is not working");
            }
        }
		/// <summary>
		/// Test methods exposed by the EntityHelper class.
		/// </summary>
		private void Step_20_TestEntityHelper_Generated()
		{
			using (TransactionManager tm = CreateTransaction())
			{
				mock = CreateMockInstance(tm);
				
				SpecialOfferProduct entity = mock.Copy() as SpecialOfferProduct;
				entity = (SpecialOfferProduct)mock.Clone();
				Assert.IsTrue(SpecialOfferProduct.ValueEquals(entity, mock), "Clone is not working");
			}
		}