Added NUnit

This commit is contained in:
kay.one 2011-06-01 21:50:10 -07:00
commit 702399318b
68 changed files with 25317 additions and 1 deletions

View file

@ -1,6 +1,6 @@
using AutoMoq;
using MbUnit.Framework;
using Moq;
using NUnit.Framework;
using NzbDrone.Core.Providers.Core;
using NzbDrone.Core.Repository;
using NzbDrone.Core.Test.Framework;
@ -57,6 +57,8 @@ namespace NzbDrone.Core.Test
mocker.GetMock<IRepository>().Verify(r => r.Update(It.IsAny<Config>()), Times.Never());
mocker.GetMock<IRepository>().Verify(r => r.Add(It.Is<Config>(c => c.Key == key && c.Value == value)),
Times.Once());
Assert.Pass();
}
}
}