How can I verify that a Microsoft Fakes (beta) stub/shim was called (like AssertWasCalled in Rhino Mocks)?

后端 未结 3 476
日久生厌
日久生厌 2020-12-20 15:22

I\'m using the beta of Microsoft Fakes in Visual Studio 11. How can I verify that a dependency\'s method was called by my system under test?

3条回答
  •  天命终不由人
    2020-12-20 15:58

    Have a look to this post: http://www.peterprovost.org/blog/2012/11/29/visual-studio-2012-fakes-part-3/

    Cheers

提交回复
热议问题