What is the difference between @Inject and @Autowired in Spring Framework? Which one to use under what condition?(是什么在Spring框架@Inject和@Autowired之间的区别?哪...
If you want D to be Autowired dont need to do anything in your Test class. Your Autowired A should have correct instance of D. Also i think you need to use SpringJUnit4ClassRunn...