Java 类org.springframework.test.web.servlet.htmlunit.webdriver.WebConnectionHtmlUnitDriver 实例源码

项目:spring4-sandbox    文件:MockMvcHtmlUnitWebDriverCreateTaskTests.java   
@Before
public void setUp() throws Exception {
    driver = MockMvcHtmlUnitDriverBuilder
            .webAppContextSetup(context)
            .withDelegate(new WebConnectionHtmlUnitDriver(BrowserVersion.CHROME))
            .contextPath("")
            .build();
}