For example: assertThat(applicationContext).hasSingleBean(MyBean.class);. If the original ApplicationContext is needed for any reason the ...
確定! 回上一頁