1. What is @SpringBootTest ? Junior A. an annotation that places a mock collaborator into the test's application context, replacing the real one B. the utility that performs and asserts on HTTP requests against controllers without starting a real server C. a sliced test annotation configuring only the persistence layer, by default against an in-memory database D. an annotation bootstrapping the full application context for integration-style tests Answer + AI explanation with Pro
2. Which term means: "an annotation bootstrapping the full application context for integration-style tests"? Junior A. @WebMvcTest B. @SpringBootTest C. @DataJpaTest D. @MockBean Answer + AI explanation with Pro
3. Which statement is correct? Junior A. @SpringBootTest — an annotation bootstrapping the full application context for integration-style tests B. @SpringBootTest — an annotation that places a mock collaborator into the test's application context, replacing the real one C. @SpringBootTest — the utility that performs and asserts on HTTP requests against controllers without starting a real server D. @SpringBootTest — a sliced test annotation configuring only the persistence layer, by default against an in-memory database Answer + AI explanation with Pro
4. What is @WebMvcTest ? Mid A. an annotation bootstrapping the full application context for integration-style tests B. a sliced test annotation configuring only the persistence layer, by default against an in-memory database C. the utility that performs and asserts on HTTP requests against controllers without starting a real server D. a sliced test annotation loading only the web layer to test controllers in isolation Answer + AI explanation with Pro
5. Which term means: "a sliced test annotation loading only the web layer to test controllers in isolation"? Mid A. @WebMvcTest B. @MockBean C. MockMvc D. @SpringBootTest Answer + AI explanation with Pro
6. Which statement is correct? Mid A. @WebMvcTest — a sliced test annotation loading only the web layer to test controllers in isolation B. @WebMvcTest — an annotation that places a mock collaborator into the test's application context, replacing the real one C. @WebMvcTest — the utility that performs and asserts on HTTP requests against controllers without starting a real server D. @WebMvcTest — an annotation bootstrapping the full application context for integration-style tests Answer + AI explanation with Pro
7. What is @DataJpaTest ? Mid A. the utility that performs and asserts on HTTP requests against controllers without starting a real server B. a sliced test annotation configuring only the persistence layer, by default against an in-memory database C. an annotation bootstrapping the full application context for integration-style tests D. a sliced test annotation loading only the web layer to test controllers in isolation Answer + AI explanation with Pro
8. Which term means: "a sliced test annotation configuring only the persistence layer, by default against an in-memory database"? Mid A. @WebMvcTest B. MockMvc C. @MockBean D. @DataJpaTest Answer + AI explanation with Pro
9. Which statement is correct? Mid A. @DataJpaTest — a sliced test annotation loading only the web layer to test controllers in isolation B. @DataJpaTest — the utility that performs and asserts on HTTP requests against controllers without starting a real server C. @DataJpaTest — an annotation bootstrapping the full application context for integration-style tests D. @DataJpaTest — a sliced test annotation configuring only the persistence layer, by default against an in-memory database Answer + AI explanation with Pro
10. What is MockMvc ? Mid A. a sliced test annotation loading only the web layer to test controllers in isolation B. a sliced test annotation configuring only the persistence layer, by default against an in-memory database C. the utility that performs and asserts on HTTP requests against controllers without starting a real server D. an annotation that places a mock collaborator into the test's application context, replacing the real one Answer + AI explanation with Pro
11. Which term means: "the utility that performs and asserts on HTTP requests against controllers without starting a real server"? Mid A. @SpringBootTest B. @MockBean C. MockMvc D. @WebMvcTest Answer + AI explanation with Pro
12. Which statement is correct? Mid A. MockMvc — an annotation bootstrapping the full application context for integration-style tests B. MockMvc — a sliced test annotation loading only the web layer to test controllers in isolation C. MockMvc — an annotation that places a mock collaborator into the test's application context, replacing the real one D. MockMvc — the utility that performs and asserts on HTTP requests against controllers without starting a real server Answer + AI explanation with Pro
13. What is @MockBean ? Mid A. an annotation that places a mock collaborator into the test's application context, replacing the real one B. an annotation bootstrapping the full application context for integration-style tests C. the utility that performs and asserts on HTTP requests against controllers without starting a real server D. a sliced test annotation configuring only the persistence layer, by default against an in-memory database Answer + AI explanation with Pro
14. Which term means: "an annotation that places a mock collaborator into the test's application context, replacing the real one"? Mid A. MockMvc B. @SpringBootTest C. @WebMvcTest D. @MockBean Answer + AI explanation with Pro
15. Which statement is correct? Mid A. @MockBean — a sliced test annotation configuring only the persistence layer, by default against an in-memory database B. @MockBean — a sliced test annotation loading only the web layer to test controllers in isolation C. @MockBean — an annotation bootstrapping the full application context for integration-style tests D. @MockBean — an annotation that places a mock collaborator into the test's application context, replacing the real one Answer + AI explanation with Pro