test中怎么能获取容器bean对象

@RunWith(SpringRunner.class)
@SpringBootTest(classes = {DemoApplication.class})

posted @ 2023-05-16 15:25  必行之码  阅读(16)  评论(0)    收藏  举报