<PackageReference Include="NUnit" Version="4.2.2" />

NUnit.Framework.Internal.Commands.SetUpTearDownItem

public class SetUpTearDownItem
SetUpTearDownItem holds the setup and teardown methods for a single level of the inheritance hierarchy.
namespace NUnit.Framework.Internal.Commands { public class SetUpTearDownItem { public bool HasMethods { get; } public SetUpTearDownItem(IList<IMethodInfo> setUpMethods, IList<IMethodInfo> tearDownMethods, IMethodValidator methodValidator = null); public void RunSetUp(TestExecutionContext context); public void RunTearDown(TestExecutionContext context); } }