public async Task <IActionResult> GetLatestProfileTotalsForPublishedProvider([FromRoute] string fundingStreamId,
                                                                              [FromRoute] string fundingPeriodId,
                                                                              [FromRoute] string providerId)
 {
     return(await _profileTotalsService.GetPaymentProfileTotalsForFundingStreamForProvider(fundingStreamId,
                                                                                           fundingPeriodId,
                                                                                           providerId));
 }
 private void GivenTheProfilesTotalResponse(IActionResult result)
 {
     _profileTotalsService
     .GetPaymentProfileTotalsForFundingStreamForProvider(_fundingStreamId,
                                                         _fundPeriodId,
                                                         _providerId)
     .Returns(result);
 }