Hi Edoardo,
Thanks again for contacting us.
The idea behind
MusBeCalled is asserting something that is already invoked. There can be numerous possibilities how a particular method can be called but the task of the assertion is to make sure that all your expectations are executed as you have set / arranged them.
However, you can write the test in the following way that should make sure that for any argument other than the ones for which the expectations are set will fail the test.
Secondly, you are right about the exception that is been thrown for MustBeCalled, it should be more verbose on what call it failed for. I am including a task for it and hopefully it will be resolved in the next build and thanks for pointing that out.
You can further the follow the task here:
http://www.telerik.com/support/pits.aspx#/public/justmock/11174
Kind Regards
Ricky
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>