public async Task ResetPasswordAsync_WhenUSerNotFound_ShouldReturnUserNotFoundResponse() { var request = new ResetPasswordRequest() { Password = "******", UserId = Guid.NewGuid() }; _mockUserManger.Setup(e => e.FindByIdAsync(request.UserId.ToString())) .ReturnsAsync((User)null); var response = await sut.ResetPasswordAsync(request); response.IsSuccess.Should().BeFalse(); response.ResponseException !.ErrorCode.Should().Be(ErrorCode.UserNotFound); response.ResponseException.ErrorMessage.Should().Be(ErrorCode.UserNotFound.GetDescription()); }