public void Index_WhenCalled_ShouldNotReturnNull() { // Arrange SocketController controller = new SocketController(_userManager, _roomRepository, _socketRepository, _timeTaskRepository, _authorizationService, _mqttAppClient, _mapper); // Act ViewResult viewResult = controller.Index() as ViewResult; // Assert Assert.NotNull(viewResult); }