public void AddThen(string text, MethodInfo method) { Thens.Add(method, new StatedThen { Name = text }); }
void ProcessThen() { _typeToProcess .GetMethods() .Where(TestRunManager.TestRunConfiguration.ThenIdentificationMethod).ToList() .ForEach(x => _testStateManager.AddThen(x.Name, x)); }