public void Profile()
        {
            // Arrange
            HomeController controller = new HomeController();

            // Act
            ViewResult result = controller.UserProfile() as ViewResult;

            // Assert
            Assert.IsNotNull(result);
        }
        public void ChatRoom()
        {
            ChatHub.ChatRooms.Add(new Models.ChatRoom() { Id = 1 });
            // Arrange
            HomeController controller = new HomeController();

            // Act
            ViewResult result = controller.ChatRoom(1) as ViewResult;

            // Assert
            Assert.IsNotNull(result);
        }