Provides tests for the and ProductListPriceHistory objects (entity, collection and repository).
Ejemplo n.º 1
0
        ///<summary>
        ///  Update the Typed ProductListPriceHistory Entity with modified mock values.
        ///</summary>
        static public void UpdateMockInstance(TransactionManager tm, ProductListPriceHistory mock)
        {
            ProductListPriceHistoryTest.UpdateMockInstance_Generated(tm, mock);

            // make any alterations necessary
            // (i.e. for DB check constraints, special test cases, etc.)
            SetSpecialTestData(mock);
        }
Ejemplo n.º 2
0
        ///<summary>
        ///  Returns a Typed ProductListPriceHistory Entity with mock values.
        ///</summary>
        static public ProductListPriceHistory CreateMockInstance(TransactionManager tm)
        {
            // get the default mock instance
            ProductListPriceHistory mock = ProductListPriceHistoryTest.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);
        }