chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
Does type mock support recording an expectation on chained extension method call? If so I am getting unexpected results. I will explain further if I am informed that this is supported.

thanks,
Jesse
asked by juice_johnson (9.8k points)

1 Answer

0 votes
Hi
expectation on chained extension is supported
although there is an issue with order of calls, From our known issues section:
Can not mock multiple instances of extension methods and call them in different order.


Anyway I suggest that you'll post the code and we will try to work it out.
answered by ohad (35.4k points)
...