Skip to content

test: added unit tests for UserService - #27

Merged
Miuroro merged 1 commit into
mainfrom
feat/add-comprehensive-tests
Jun 17, 2026
Merged

Miuroro merged 1 commit into
mainfrom
feat/add-comprehensive-tests

Conversation

@Miuroro

@Miuroro Miuroro commented Jun 17, 2026

Copy link
Copy Markdown
Owner

🚀 Description

This PR introduces unit tests for the UserService .

🛠️ Changes

  • Added UserServiceTest.java utilizing Mockito for dependency mocking.
  • Implemented test cases for:
    • Successful user creation.
    • Exception handling for missing users during retrieval, updates, and deletion.

@Miuroro
Miuroro merged commit 85c5c31 into main Jun 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant