Exemple #1
0
 public SessionStateGetTests()
 {
     logger = A.Fake <ILogger <EnterYourDetailsController> >();
     fakeSessionStateService = A.Fake <ISessionStateService <SessionDataModel> >();
     fakeMapper               = A.Fake <AutoMapper.IMapper>();
     fakeRoutingService       = A.Fake <IRoutingService>();
     fakeNotifyEmailService   = A.Fake <INotifyEmailService <ContactUsEmailRequestModel> >();
     fakeFamApiRoutingOptions = A.Fake <FamApiRoutingOptions>();
 }
Exemple #2
0
 public EnterYourDetailsController(ILogger <EnterYourDetailsController> logger, AutoMapper.IMapper mapper, ISessionStateService <SessionDataModel> sessionStateService, IRoutingService routingService, INotifyEmailService <ContactUsEmailRequestModel> notifyEmailService) : base(logger, sessionStateService)
 {
     this.mapper             = mapper;
     this.routingService     = routingService;
     this.notifyEmailService = notifyEmailService;
 }