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

23 lines
414 B
C#

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