public LoginResponse login(LoginRequest request) {
        User user = userRepository.findByIdentificationNumber(request.getIdentificationNumber()).orElseThrow(() ->GenericException.builder()
                .httpStatus(HttpStatus.NOT_FOUND)
                .logMessage(this.getClass().getName() + ".login user not found with identification number {0}", request.getIdentificationNumber() )
                .message(ErrorCode.USER_NOT_FOUND)
                .build());
        passwordEncoder.matches(request.getPassword(),user.getPassword());
        return LoginResponse.builder().token(authService.createToken(user)).build();
    }
@Test
    void login_userNotFound() {
        // Arrange
        LoginRequest request = new LoginRequest("1234567890", "password");
        when(userRepository.findByIdentificationNumber(request.getIdentificationNumber())).thenReturn(Optional.empty());

        // Act & Assert
        assertThrows(GenericException.class, () -> userService.login(request));
    }