Provides tests for the and JobCandidate objects (entity, collection and repository).
コード例 #1
0
        ///<summary>
        ///  Update the Typed JobCandidate Entity with modified mock values.
        ///</summary>
        static public void UpdateMockInstance(TransactionManager tm, JobCandidate mock)
        {
            JobCandidateTest.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 JobCandidate Entity with mock values.
        ///</summary>
        static public JobCandidate CreateMockInstance(TransactionManager tm)
        {
            // get the default mock instance
            JobCandidate mock = JobCandidateTest.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);
        }