Completed
Last Updated: 22 Nov 2012 15:00 by Philip Japikse
Philip Japikse
Created on: 26 Oct 2012 11:54
Type: Bug Report
0
Distinguish between automocked items when multiple of the same are in the constructor
If I have a constructor like this: public Foo(IAccount fromAccount, IAccount toAccount) { //code }, I need to be able to distinguish between the two accounts when automocking.
container.Arrange<IAccount>() won't work.  Perhaps container.Arrange<IAccount>[0] would. 
0 comments