在before里面,通过xml文件加载context,new ClassPathApplicationContext(xml配置文件path)在test主体里面,通过context获取测试类在after里面,销毁context