/// <summary>
/// Reflect through the class to find any test methods, and add them to
/// the list of queued methods. Also, sorts the methods if appropriate
/// based on the settings file.
/// </summary>
private void PopulateTestMethods()
{
List <ITestMethod> methods = _filter.GetTestMethods(_testClass, _instance);
foreach (ITestMethod test in methods)
{
_testExecutionQueue.Enqueue(new TestMethodManager(TestHarness, _testClass, test, _instance, Provider));
}
}