Fixed AutoMoqer VerifyAll() bug

This commit is contained in:
kay.one 2011-04-22 13:13:32 -07:00
parent 23f6cc3901
commit 282870cd80
1 changed files with 2 additions and 1 deletions

View File

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