Closed hwebservices closed 1 year ago
Mockito does support records starting with version 5.4.2: https://pub.dev/packages/mockito/changelog#542
It looks like you are using an earlier version. BTW, it's always a good idea to add the version info to the bug.
@hwebservices Could you please check it with the latest version and close the bug if it works? Thanks!
@yanok Thank you for your response and suggestion, I can confirm it works with version 5.4.2. Closing the issue.
I am currently using records in a method and apparently mockito does not generate the code for it in the test case. Below is my method...
Does mockito supports records? error: