You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while : verify(mockRepository.saveRecord( objectContaining({abc, status: Status.UPDATED}))).times(2) //does work
I have debugged my current flow and I am sure, both the status updates are called ones
Sadly, mock is updated to capture arguments only for the last call, and all history before that is lost.
P.S: The record object in my implementation has some autogenerated fields, which is why I am using objectContaining()
The text was updated successfully, but these errors were encountered:
Description:
Now, in my code , I have the something similar to:
While in test, I am verifying using:
It doesn't work
while :
verify(mockRepository.saveRecord( objectContaining({abc, status: Status.UPDATED}))).times(2) //does work
I have debugged my current flow and I am sure, both the status updates are called ones
Sadly, mock is updated to capture arguments only for the last call, and all history before that is lost.
P.S: The record object in my implementation has some autogenerated fields, which is why I am using objectContaining()
The text was updated successfully, but these errors were encountered: