More update tests

This commit is contained in:
kay.one 2011-11-13 11:15:40 -08:00
commit 60d598f2c1
3 changed files with 123 additions and 56 deletions

View file

@ -24,7 +24,7 @@ namespace NzbDrone.Test.Common
}
[SetUp]
public virtual void TestBaseSetup()
public void TestBaseSetup()
{
if (Directory.Exists(TempFolder))
{
@ -36,6 +36,12 @@ namespace NzbDrone.Test.Common
Mocker = new AutoMoqer();
}
[TearDown]
public void TestBaseTearDown()
{
Mocker.VerifyAllMocks();
}
protected virtual void WithStrictMocker()
{
Mocker = new AutoMoqer(MockBehavior.Strict);