sonarr-repo-only/NzbDrone.Core.Test/Framework/TestBase.cs

22 lines
370 B
C#

using MbUnit.Framework;
namespace NzbDrone.Core.Test.Framework
{
public class TestBase
{
[SetUp]
public void Setup()
{
ExceptionVerification.Reset();
}
[TearDown]
public void TearDown()
{
if (!Assert.IsFailurePending) ExceptionVerification.AssertNoError();
}
}
}