阅读背景:

访问方法'System.Web.Http.HttpConfiguration.DefaultFormatters()'失败

来源:互联网 

I have problem with unit testing my WEB API controller, I'm using moq to mock up my repository, do the setup and response for it. Then initiate the controller with mocked repository. The problem is when I try to execute a call from the controller I get an exception:I have problem with unit testing my WEB API con




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

分享到: