Spring Boot, Mockito, Unit Testing, Junit 5, Rest Api.
org.springframework.test.web.servlet.result.MockMvcResultMatchers.*; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*; @WebMvcTest(BooksController.class) public class BooksControllerTest { @Autowired private MockMvc mockMvc; @MockBean private BookServiceImpl