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

NUnit.Framework.TearDownAttribute

Identifies a method to be called immediately after each test is run. The method is guaranteed to be called, even if an exception is thrown.
namespace NUnit.Framework { public class TearDownAttribute : NUnitAttribute { public TearDownAttribute(); } }