79164802

Date: 2024-11-07 02:05:03
Score: 2.5
Natty:
Report link

happened to me, in the end I think there are 2 options:

  1. use real object instead of mock object.
  2. mock the getName behavior, not setName behavior.
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: RococoBernini