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

CreateMockInstance() static public method

Returns a Typed ProductVendor Entity with mock values.
static public CreateMockInstance ( TransactionManager tm ) : ProductVendor
tm TransactionManager
return Nettiers.AdventureWorks.Entities.ProductVendor
        static public ProductVendor CreateMockInstance(TransactionManager tm)
        {
            // get the default mock instance
            ProductVendor mock = ProductVendorTest.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;
        }