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 Reveal the answer + AI explanation — free account
2. Which term means: "an annotation bootstrapping the full application context for integration-style tests"? Junior A. @WebMvcTest B. @SpringBootTest C. @DataJpaTest D. @MockBean Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account
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 Reveal the answer + AI explanation — free account