@Test(expected = SauceEnvironmentVariablesNotSetException.class) public void startThrowsErrorWithoutAccessKey() { doReturn(null).when(sauceOptions).getEnvironmentVariable("SAUCE_ACCESS_KEY"); sauceOptsSession.start(); }
public RemoteWebDriver start() { driver = createRemoteWebDriver(getSauceUrl(), sauceOptions.toCapabilities()); return driver; }
SauceSession { public RemoteWebDriver start() { driver = createRemoteWebDriver(getSauceUrl(), sauceOptions.toCapabilities()); return driver; } }
SauceSession { public RemoteWebDriver start() { driver = createRemoteWebDriver(getSauceUrl(), sauceOptions.toCapabilities()); return driver; } SauceSession();  SauceSession(SauceOptions options); }
SauceSession { public RemoteWebDriver start() { driver = createRemoteWebDriver(getSauceUrl(), sauceOptions.toCapabilities()); return driver; } SauceSession();  SauceSession(SauceOptions options); RemoteWebDriver start(); URL getSauceUrl(); void stop(Boolean passed); void stop(String result); }
SauceSession { public RemoteWebDriver start() { driver = createRemoteWebDriver(getSauceUrl(), sauceOptions.toCapabilities()); return driver; } SauceSession();  SauceSession(SauceOptions options); RemoteWebDriver start(); URL getSauceUrl(); void stop(Boolean passed); void stop(String result);  }