1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-23 08:15:27 +00:00

Fixed AutoMoqer VerifyAll() bug

This commit is contained in:
kay.one 2011-04-22 13:13:32 -07:00
parent 23f6cc3901
commit 282870cd80

View file

@ -116,7 +116,8 @@ namespace AutoMoq
foreach (var registeredMock in registeredMocks)
{
var mock = registeredMock.Value as Mock;
mock.VerifyAll();
if (mock != null)
mock.VerifyAll();
}
}