阅读背景:

MOQ - 如何模拟需要转换为另一个接口的接口?

来源:互联网 

what I want to do is construct a moq for I1 - which is fine ... however in the course of the method that I am testing that uses this mock I need to cast it to I2 in order to access some properties that are not on I1what I want to do is construct a moq for I1 - w




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: