Spring Boot, Mockito, Unit Testing, Junit 5, Rest Api.
save_ReturnsInternalServerError: Simulates a server error during the save operation by throwing a RuntimeException when the service method is called. The test checks for a 500 (Internal Server Error) response. findById_ReturnsSuccess: Tests the GET /api/v1/books/{id} endpoint to ensure it can