assertThat(config.isRecreateBrowserOnIterationStart(), is(false));
}
@Test
public void shouldRecreateBrowserOnEachIterationStart() {
final WebDriver firstBrowser = mock(WebDriver.class);
final WebDriver secondBrowser = mock(WebDriver.class);
this.config = new WebDriverConfigImpl(proxyFactory, firstBrowser, secondBrowser);
this.config.setRecreateBrowserOnIterationStart(true);
config.iterationStart(null);
assertThat((WebDriver) variables.getObject(WebDriverConfig.BROWSER), is(firstBrowser));