private void SetupWithDownloaderReturning(string downloaderReturns)
        {
            var downloader = Substitute.For<IFileDownloader>();
            downloader.DownloadPath(Arg.Any<string>(), Arg.Any<string>()).Returns(downloaderReturns);
            _studentAttendancePercentageMapperMock = Substitute.For<IMapper<IList<StudentSectionAttendanceEvent>, ProfileModel>>();

            _mapper = new StudentToProfileModelMapper(new StudentToAcademicDetailsMapper(downloader),
                new ParentToProfileParentModelMapper(new ParentToProfileParentAddressModelMapper()),
                 new ProfilePhotoUrlFetcher(downloader),
                new StudentProgramStatusToProfileProgramStatusModelMapper(downloader),
                _studentAttendancePercentageMapperMock, 
                new StudentToBiographicalInfoModelMapper(), 
                new StudentToNameModelMapper(),
                new StudentAddressToHomeAddressModelMapper());
        }
        private void SetupWithDownloaderReturning(string downloaderReturns)
        {
            var downloader = Substitute.For <IFileDownloader>();

            downloader.DownloadPath(Arg.Any <string>(), Arg.Any <string>()).Returns(downloaderReturns);
            _studentAttendancePercentageMapperMock = Substitute.For <IMapper <IList <StudentSectionAttendanceEvent>, ProfileModel> >();

            _mapper = new StudentToProfileModelMapper(new StudentToAcademicDetailsMapper(downloader),
                                                      new ParentToProfileParentModelMapper(new ParentToProfileParentAddressModelMapper()),
                                                      new ProfilePhotoUrlFetcher(downloader),
                                                      new StudentProgramStatusToProfileProgramStatusModelMapper(downloader),
                                                      _studentAttendancePercentageMapperMock,
                                                      new StudentToBiographicalInfoModelMapper(),
                                                      new StudentToNameModelMapper(),
                                                      new StudentAddressToHomeAddressModelMapper());
        }