Spring Boot, Mockito, Unit Testing, Junit 5, Rest Api.
performs: Setup with MockitoExtension: The test class is annotated with @ExtendWith(MockitoExtension.class), enabling Mockito annotations within the test environment. This facilitates the creation of mocks and the injection of mocks into the class being tested without manual setup. Mocking and