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