Nettiers.AdventureWorks.UnitTests.EmployeePayHistoryTest.CreateMockInstance C# (CSharp) Method

CreateMockInstance() static public method

Returns a Typed EmployeePayHistory Entity with mock values.
static public CreateMockInstance ( TransactionManager tm ) : EmployeePayHistory
tm TransactionManager
return Nettiers.AdventureWorks.Entities.EmployeePayHistory
        static public EmployeePayHistory CreateMockInstance(TransactionManager tm)
        {
            // get the default mock instance
            EmployeePayHistory mock = EmployeePayHistoryTest.CreateMockInstance_Generated(tm);
			
            // make any alterations necessary 
            // (i.e. for DB check constraints, special test cases, etc.)
			SetSpecialTestData(mock);
			
            // return the modified object
            return mock;
        }