Closed marcuswu0814 closed 8 years ago
The documentation has the hint. In section 2.6 it is stated that "Using invokeBlockWithArgs: it is possible to specify which arguments to invoke the block with; non-object arguments must be wrapped in value objects and the expression must be wrapped in round brackets." The code example in that section shows the round brackets, too.
I have a class like this:
And I try to stub this method like this:
It's not working and got complier error _Too many arguments provided to function-like macro invocation_
If I try to change the syntax like this:
And the stub working well, it's there had any hint to solve this problem?
Thanks!