protected UserClientWrapperBaseTest() { Client = A.Fake <IUserClient>(); Mapper = A.Fake <IMapper>(); var logger = A.Fake <ILogger <UserClientWrapper> >(); ClientWrapper = new UserClientWrapper(Client, Mapper, logger, AccessToken); }
public UserService(ClaimsPrincipal claims, IUserClientWrapper userClient) { _claims = claims ?? throw new ArgumentNullException(nameof(claims)); _userClient = userClient ?? throw new ArgumentNullException(nameof(userClient)); }