SpringTest注解选择配置文件
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {"classpath:config/applicationContext.xml"})
@ActiveProfiles("dev")
public class BillTestBySpringTest {
@Autowired
private EntBillTotalService entBillTotalService;