@@ -0,0 +1,706 @@
+package com.baidu.unbiz.dsp.archtype.service.impl;%0A%0Aimport java.util.Map;%0A%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.test.context.ContextConfiguration;%0Aimport org.springframework.test.context.junit4.SpringJUnit4ClassRunner;%0A%0Aimport com.baidu.unbiz.dsp.archtype.service.CarService;%0A%0A/**%0A * @author zhangxu%0A */%0A@RunWith(SpringJUnit4ClassRunner.class)%0A@ContextConfiguration(locations = %7B%22classpath*:applicationContext.xml%22%7D)%0Apublic class BeanInjectionTest %7B%0A%0A    @Autowired%0A    private Map%3CString, CarService%3E map;%0A%0A    @Test%0A    public void testMapInjection() %7B%0A        System.out.println(map);%0A    %7D%0A%0A%7D%0A

add bean injection