View all questions & answers for the 2V0-72.22 exam
Which two statements are true regarding Spring Boot Testing? (Choose two.)
@TestApplicationContext is used to define additional beans or customizations for a test.
Test methods in a @SpringBootTest class are transactional by default.
@SpringBootTest is typically used for integration testing.
Test methods annotated with @SpringBootTest will recreate the ApplicationContext.
@SpringBootTest without any configuration classes expects there is only one class annotated with @SpringBootConfiguration in the application.
Submit