Spring Boot, Mockito, Unit Testing, Junit 5, Rest Api.
only configure the web layer, particularly focusing on BooksController. It does not load the entire context, making tests faster and more focused. @Autowired private MockMvc mockMvc: This field is automatically injected with an instance of MockMvc, a main entry point for server-side Spring MVC