Package me.josephsf.jobportaljosephsfeirtest.service


package me.josephsf.jobportaljosephsfeirtest.service
Tests for service classes in the Job Portal application.

This package contains test classes for the service layer components that implement the business logic of the Job Portal system. These tests verify that services correctly process data, interact with repositories, and apply business rules.

The service tests focus on:

  • Business logic validation
  • Correct repository interaction
  • Data transformation between DTOs and entities
  • Error handling and exception propagation
  • Transactional behavior

Key test classes in this package:

  • UserServiceTest - Tests for user account management
  • AuthServiceTest - Tests for authentication and registration logic
  • JobServiceTest - Tests for job posting business logic
  • CandidateServiceTest - Tests for candidate profile management
  • RecruiterServiceTest - Tests for recruiter profile management
  • ApplicationServiceTest - Tests for job application business logic

Most tests in this package use Mockito to mock dependencies, allowing the service logic to be tested in isolation.

Since:
2025-05-15