Is it possible to mock out a method with optional parameters? I can't seem to figure out how to do it.
1 Answer, 1 is accepted
0
Ricky
Telerik team
answered on 30 Apr 2012, 07:46 PM
Hi Graham,
Thanks for bringing up the question. Yes you can mock method(s) with optional argument using JustMock. Please take a look into the following example that should give you some pointers.
[Test]
public void ShouldAssertMockingMethodWithOptionalArgument()