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

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