Approved
Last Updated: 23 Jul 2018 13:31 by Kaloyan
Kaloyan
Created on: 12 Dec 2012 11:55
Type: Feature Request
0
Expectations on specific instance using future mocking
Current behavior:
Mock.Arrange(xxx).IgnoreInstance();    //mock all future instances of the type on which I set an expectation.


Feature Request:
Mock.Arrange(xxx).IgnoreInstance().Next();    //mock the next instance of the type on which I set an expectation.

...and even better...

Mock.Arrange(xxx).IgnoreInstance().Skip(3).Next();   //mock the 4th instance of a type on which I set an expectation.
0 comments