ITeye博客

C Test

共 2 篇文章

Mail-list精选[NMock]NMock2 doesn't support mocking class

NMock2 only support mocking interface but not class. If you try to mock class, you will get an error message: System.TypeLoadException: Could not load type 'MultiInterface1' from assembly 'Mocks

2006-11-15 21:06 · C Test

Mail-list精选[NMock]NMock2 doesn't support mocking class

NMock2 only support mocking interface but not class. If you try to mock class, you will get an error message: System.TypeLoadException: Could not load type 'MultiInterface1' from assembly 'Mocks

2006-11-15 21:06 · C Test