public new void SetUp()
        {
            var fixture = new Fixture();

            _receiverMatches = fixture.Create <List <Domain.Entities.TransferRequestSummary> >();
            _senderMatches   = fixture.Create <List <Domain.Entities.TransferRequestSummary> >();

            _receiverMapperMatches = fixture.Create <List <Types.Commitment.TransferRequestSummary> >();
            _senderMapperMatches   = fixture.Create <List <Types.Commitment.TransferRequestSummary> >();

            MockMediator.Setup(x => x.SendAsync(It.IsAny <GetTransferRequestsForReceiverRequest>()))
            .ReturnsAsync(new GetTransferRequestsForReceiverResponse()
            {
                Data = _receiverMatches
            });

            MockMediator.Setup(x => x.SendAsync(It.IsAny <GetTransferRequestsForSenderRequest>()))
            .ReturnsAsync(new GetTransferRequestsForSenderResponse()
            {
                Data = _senderMatches
            });

            MockTransferRequestMapper.Setup(x => x.MapFrom(It.IsAny <IList <Domain.Entities.TransferRequestSummary> >(), TransferType.AsReceiver))
            .Returns(_receiverMapperMatches);

            MockTransferRequestMapper.Setup(x => x.MapFrom(It.IsAny <IList <Domain.Entities.TransferRequestSummary> >(), TransferType.AsSender))
            .Returns(_senderMapperMatches);

            MockHashingService.Setup(x => x.DecodeValue(It.IsAny <string>())).Returns((string param) => Convert.ToInt64(param));
        }
 public new void SetUp()
 {
     _domainTransferRequest = new Domain.Entities.TransferRequest();
     _apiTransferRequest    = new Types.Commitment.TransferRequest();
     MockMediator.Setup(x => x.SendAsync(It.IsAny <GetTransferRequestRequest>()))
     .ReturnsAsync(new GetTransferRequestResponse {
         Data = _domainTransferRequest
     });
     MockTransferRequestMapper.Setup(x => x.MapFrom(It.IsAny <Domain.Entities.TransferRequest>()))
     .Returns(_apiTransferRequest);
 }