注释类型 TestConfiguration
@Target(TYPE) @Retention(RUNTIME) @Documented @Configuration @TestComponent public @interface TestConfiguration
@Configurationthat can be used to define additional beans or customizations for a test. Unlike regular@Configurationclasses the use of@TestConfigurationdoes not prevent auto-detection of@SpringBootConfiguration.- 从以下版本开始:
 - 1.4.0
 - 另请参阅:
 SpringBootTestContextBootstrapper