コード例 #1
0
 @Test(expected = UnsupportedDriverException.class)
 public void should_throw_exception_if_invalid_driver_used() {
   WebDriverFacade facade =
       new WebDriverFacade(InvalidWebDriverClass.class, new WebDriverFactory());
   facade.getProxiedDriver();
 }