[Improvement]: Support mocking with withArguments()
where some arguments are fixed and some are flexible.
#42329
Labels
needTriage
The issue has to be inspected and labeled manually
Type/Improvement
userCategory/Compilation
Description
With the current Mocking implementation, we should give all arguments if we are trying to mock a function or object. But, It is better if we can mock while keeping a few arguments fixed and letting other arguments flexible.
main.bal
tests/test.bal
Describe your problem(s)
No response
Describe your solution(s)
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: