??????????Spring???????????????????TestContext?????????????????????Spring??????????????????????д??Junit4 ??BlockJUnit4ClassRunner??methodBlock??????

????????????????????????

???????
????Spring?????????????????????????????????????????????????web???????????????????Service???????е???????????Spring??????????к??????÷?????????????????£?????@TestExecutionListeners???????????????????????????????????Щ?????????????DependencyInjectionTestExecutionListener.class???????????????е????????????TransactionalTestExecutionListener.class???????????й??????????????Srping???????????????????????Listener???????????????????????????????org.springframework.test.context.support.AbstractTestExecutionListener??????