Nettiers.AdventureWorks.UnitTests.EmployeePayHistoryTest.SetSpecialTestData C# (CSharp) Method

SetSpecialTestData() static private method

Make any alterations necessary (i.e. for DB check constraints, special test cases, etc.)
static private SetSpecialTestData ( EmployeePayHistory mock ) : void
mock Nettiers.AdventureWorks.Entities.EmployeePayHistory Object to be modified
return void
        static private void SetSpecialTestData(EmployeePayHistory mock)
        {
            //Code your changes to the data object here.
            if (TestUtility.Instance.RandomBoolean())
            {
                mock.PayFrequency = 1;
            }
            else
            {
                mock.PayFrequency = 2;
            }

            mock.Rate = TestUtility.Instance.RandomNumber(7, 200);
        }
    }