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>(); }
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; }