Provides tests for the and StoreContact objects (entity, collection and repository).
예제 #1
0
        ///<summary>
        ///  Update the Typed StoreContact Entity with modified mock values.
        ///</summary>
        static public void UpdateMockInstance(TransactionManager tm, StoreContact mock)
        {
            StoreContactTest.UpdateMockInstance_Generated(tm, mock);

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