开发者

what is mockrepository

开发者 https://www.devze.com 2023-02-26 05:21 出处:网络
I want to simply know what is mockrepository and 开发者_如何学Gohow it is created. please also let me know the use of the above...

I want to simply know what is mockrepository and 开发者_如何学Gohow it is created. please also let me know the use of the above... can i have the simple implementation of mock


From the MockRepository page of Rhino Mocks:

The MockRepository is the main interaction point with Rhino Mocks.

Common usage pattern is to create the on [SetUp] and then create mock objects using either or and setup expectations on the mock object(s) by callling their methods. A call to would move the mock object(s) to replay state, a call to is made from the [TearDown] method.

There are also examples of usage on the page.

0

精彩评论

暂无评论...
验证码 换一张
取 消