ITeye博客

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

experience · 2006-11-15 21:06 · C Test · Markdown

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

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。