public UserServiceTests()
 {
     _sut = new UserService(_userId, _mockMarket.Object, _mockPrivateRecipeRepo.Object, _mockPublicRecipeRepo.Object, _mockMoneyAccoutRepo.Object);
 }
        private string ProcessLoginCommand(Command command)
        {
            if (command.MainObjPair.Key == DomainObjectType.User)
            {
                var userId = command.MainObjPair.Value.ToLower();
                if (string.IsNullOrEmpty(userId))
                {
                    return "Please specify user id";
                }

                var userAccount = _moneyAccountRepository.GetUserMoneyAccount(userId);
                if (userAccount == null)
                {
                    return $"User {userId} does not exist";
                }

                _currentUser = userId;
                _userService = new UserService(userId, _market, _privateRecipeRepository, _publicRecipeRepository, _moneyAccountRepository);
                return $"Login user {userId} successful";
            }

            return "Invalid login command";
        }