public void testGetCoursesByTerm() throws Exception {
// Unit test
List courseList = null;
courseList = courseManagementManager.getCoursesByTerm("2006","01");
Assert.assertNotNull(courseList);
// Load Test
SakaiTestMethodInvoker testMethodInvoker = new SakaiTestMethodInvoker();
testMethodInvoker.runOnce(courseManagementManager,
"getCoursesByTerm",
new Object[] {"2006","01"},
new Class[] {String.class, String.class});
testMethodInvoker.runMultipleTimes(courseManagementManager,
"getCoursesByTerm",
new Object[] {"2006","01"},
new Class[] {String.class, String.class},
10);
testMethodInvoker.runThreadedOnce(courseManagementManager,
"getCoursesByTerm",
new Object[] {"2006","01"},
new Class[] {String.class, String.class},
5);
testMethodInvoker.runThreadedMultipleTimes(courseManagementManager,
"getCoursesByTerm",
new Object[] {"2006","01"},
new Class[] {String.class, String.class}, 10, 5);
}