public void SetUp() { _unitOfWorkFactory = new FakeUnitOfWorkFactory(); _itemFactory = Substitute.For <IItemFactory>(); _notificationSessionFactory = new FakeNotificationSessionFactory(); _authorizationUtil = Substitute.For <IAuthorizationUtil>(); _itemUtil = Substitute.For <IItemUtil>(); _characterHistoryUtil = Substitute.For <ICharacterHistoryUtil>(); _jsonUtil = Substitute.For <IJsonUtil>(); _itemTemplateUtil = Substitute.For <IItemTemplateUtil>(); _actionsUtil = Substitute.For <IActionsUtil>(); _rngUtil = Substitute.For <IRngUtil>(); _itemDataUtil = Substitute.For <IItemDataUtil>(); _service = new ItemService( _unitOfWorkFactory, _itemFactory, _notificationSessionFactory, _authorizationUtil, _itemUtil, _characterHistoryUtil, _jsonUtil, _rngUtil, _itemTemplateUtil, _actionsUtil, _itemDataUtil ); }
public MicrosoftAuthenticationController( MicrosoftGraphConfiguration configuration, IMicrosoftGraphClient microsoftGraphClient, IJwtService jwtService, IMapper mapper, IRngUtil rngUtil, ISocialMediaUserLinkService socialMediaUserLinkService ) { _configuration = configuration; _microsoftGraphClient = microsoftGraphClient; _jwtService = jwtService; _mapper = mapper; _rngUtil = rngUtil; _socialMediaUserLinkService = socialMediaUserLinkService; }
public GoogleAuthenticationController( GoogleConfiguration configuration, IGoogleClient googleClient, IJwtService jwtService, IMapper mapper, IRngUtil rngUtil, ISocialMediaUserLinkService socialMediaUserLinkService ) { _configuration = configuration; _googleClient = googleClient; _jwtService = jwtService; _mapper = mapper; _rngUtil = rngUtil; _socialMediaUserLinkService = socialMediaUserLinkService; }
public FacebookAuthenticationController( FacebookConfiguration configuration, IFacebookClient facebookClient, IJwtService jwtService, IMapper mapper, IRngUtil rngUtil, ISocialMediaUserLinkService socialMediaUserLinkService ) { _configuration = configuration; _facebookClient = facebookClient; _jwtService = jwtService; _mapper = mapper; _rngUtil = rngUtil; _socialMediaUserLinkService = socialMediaUserLinkService; }