@Test
public void should_return_lazy_async_configurer_when_bean_is_async_configurer() throws Exception {
AsyncCustomAutoConfiguration configuration = new AsyncCustomAutoConfiguration();
Object bean = configuration
.postProcessAfterInitialization(mock(AsyncConfigurer.class), "someName");
then(bean).isInstanceOf(LazyTraceAsyncCustomizer.class);
}
AsyncCustomAutoConfigurationTest.java 文件源码
java
阅读 20
收藏 0
点赞 0
评论 0
项目:spring-cloud-sleuth
作者:
评论列表
文章目录