public async Task Get()
        {
            var genericIdentity = new User("4", true, "dummyUser", API.Authorization.User.IarUserTypes.User, "", "", DateTime.Now, 125625, 168);

            _mockUW.Setup(m => m.ResponderRepository.GetRespondersBySubscriberId(_controller.ApplicationContext.CurrentUser.SubscriberId));
            _mockUW.Setup(m => m.MemberPreferencesRepository.GetPreferencesByMemberIdAsync(_controller.ApplicationContext.CurrentUser.MemberId,
                                                                                           (int)_controller.ApplicationContext.CurrentUser.UserType));

            _controller = new RespondersController(_mockUW.Object, new ApplicationContext(genericIdentity));

            var actionResult = await _controller.Get();

            Assert.NotNull(actionResult);
        }
 public RespondersControllerTest() : base(unitOfWorkContext, applicationContext)
 {
     _controller = new RespondersController(_mockUW.Object, _mockAC.Object);
 }