Thanks again for bringing up the question. However if want to know the order in which methods are executed, currently you can achieve this only by using the DoInstead modifier. Like in the following way:
var foo = Mock.Create<IFoo>();
> calls =
executed = 0;
Mock.Arrange(() => foo.Submit()).DoInstead(() => calls.Add(0, executed++));
Mock.Arrange(() => foo.Echo()).DoInstead(() => calls.Add(1, executed++));
In addition, we are also planning to provide a handy way of doing it during Mock.Assert() and hopefully it will be ready by next release.
Finally, please feel free to write us back for any further questions or issues.
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking
system and vote to affect the priority of the items