Spring Boot, Mockito, Unit Testing, Junit 5, Rest Api.
Test: Tests the retrieval of all book records through the service by mocking findAll to return a predefined list of books. It verifies that the service returns the expected number of records. Find by ID Test: Consists of three scenarios: Successful retrieval of a book by its ID, mocking findById to