public void AddTearDown(after teardownMethod) { _teardownMethods.Add(teardownMethod); }
void ProcessAfter() { _fields .Where(fieldInfo => fieldInfo.FieldType == typeof(after)).ToList() .ForEach(x => _testStateManager.AddTearDown((after)x.GetValue(_testClass))); }