public void CreateNotificationConnectionManager_IsNotNull()
        {
            //Arrange

            //Act
            var result = new NotificationConnectionManager(_uniqueId.Object, _userMap.Object);

            //Assert
            Assert.IsNotNull(result);
            Assert.IsInstanceOf <NotificationConnectionManager>(result);
        }
        public void SetUp()
        {
            _uniqueId = new Mock <IUniqueIdService>();
            _userMap  = new Mock <IUserMapService>();
            _notificationConnectionManager = new Mock <INotificationConnectionManager>();
            _socket  = new Mock <WebSocket>();
            uniqueID = Guid.NewGuid();
            notificationConnectionManager = new NotificationConnectionManager(_uniqueId.Object, _userMap.Object);
            userMap = new ConcurrentDictionary <string, HashSet <ConnectionDTO> >();
            var hash          = new HashSet <ConnectionDTO>();
            var connectionDTO = new ConnectionDTO()
            {
                WebSocket    = _socket.Object,
                ConnectionId = "1"
            };

            hash.Add(connectionDTO);
            userMap.TryAdd("1", hash);
        }