public void TestAddEmployeeToPayrollUsingThreadsofDataBaseHandlerClassPassListOfEmployeesAndReceiveTheNumberOfRowsAffected() { DateTime startDateTimeThread = DateTime.Now; int rowsThread = DataBaseHandler.AddEmployeeToPayrollUsingThreads(employeeDetails); DateTime endDateTimeThread = DateTime.Now; Console.WriteLine("The time taken for execution is: " + (endDateTimeThread - startDateTimeThread)); Assert.AreEqual(3, rowsThread); }