Exemple #1
0
        protected UserClientWrapperBaseTest()
        {
            Client = A.Fake <IUserClient>();
            Mapper = A.Fake <IMapper>();
            var logger = A.Fake <ILogger <UserClientWrapper> >();

            ClientWrapper = new UserClientWrapper(Client, Mapper, logger, AccessToken);
        }
Exemple #2
0
 public UserService(ClaimsPrincipal claims, IUserClientWrapper userClient)
 {
     _claims     = claims ?? throw new ArgumentNullException(nameof(claims));
     _userClient = userClient ?? throw new ArgumentNullException(nameof(userClient));
 }