예제 #1
0
        ///<summary>
        ///  Returns a Typed CsCard Entity with mock values.
        ///</summary>
        static public CsCard CreateMockInstance(TransactionManager tm)
        {
            // get the default mock instance
            CsCard mock = CsCardTest.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);
        }