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