79335429

Date: 2025-01-07 09:20:15
Score: 1
Natty:
Report link

This lines are wrong. In this way you just test the handler like it's service. The point is to test the mediator. You should inject your the real mediator.

 mediatorMoq.Setup(x => x.Send(new GetHandHeldByIMEI(imei))).Returns(handHeldWrapperDataViewMoq);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: MartinZ17