This version takes overloads into account. i is the overload index. e.g.:
interface Interface { void foo(int); void foo(string); } auto m = mock!Interface; m.returnValue!(0, "foo"); // int overload m.returnValue!(1, "foo"); // string overload
See Implementation
This version takes overloads into account. i is the overload index. e.g.: