Can I mock Objectresult<T> of Entity Framework Using MOQ

Posted by Yazid on Stack Overflow See other posts from Stack Overflow or by Yazid
Published on 2010-05-25T18:47:42Z Indexed on 2010/05/25 18:51 UTC
Read the original article Hit count: 808

Filed under:
|
|
|

I am using Entity Frameowrk 4.0 and I am calling a stored procedure which returns an ObjectResult and I tried to use MOQ and have not been able to mock ObjectResult. Has anybody been able to mock ObjectResult using moq?

TIA Yaz

© Stack Overflow or respective owner

Related posts about framework

Related posts about moq