Open renehernandez opened 5 years ago
@nohwnd Can you add this issue to the Better Mock milestone?
I have done some preliminary work on this and there are some nuances that we need to account for.
FindMatchingBlock
) and asserting that them mock is called, in Assert-MockCalled
.Mock
function.@nohwnd Any thoughts?
1. General summary of the issue
Parameter Aliases are not properly handled for dynamic parameters in
Mock
The following function and test highlight the issue:
2. Describe Your Environment
3. Expected Behavior
It should pass
4.Current Behavior
It fails
5. Possible Solution
Add corresponding implementation for dynamic parameter for what was done for regular parameters
6. Context
This is related to #1007 and #1128