记录一下单元测试
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.testng.AbstractTestNGSpringContextTests;
import org.springframework.test.context.web.WebAppConfiguration;
@WebAppConfiguration
@ContextConfiguration(locations = {"classpath:mvc-context.xml"})
public class BaseTest extends AbstractTestNGSpringContextTests {
}