My question is based on the accepted answer given on following thread:
Define method implementation in mock object using Moq
In this example RequestSenderHelpers.Send() has a return type of "void". How do I make it work if the return type (of the implementation/defined method) is int, or any other type?
Aucun commentaire:
Enregistrer un commentaire