Mail-list精选[NMock]NMock2 doesn't support mocking class
Posted on 2006-11-15 21:06 勇敢的鸵鸟 阅读(300) 评论(0) 编辑 收藏 举报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