### Question:
AdditionalSauceCapabilitiesBuilder extends DefaultCapabilitiesBuilder { @Override public DesiredCapabilities getCapabilities(DesiredCapabilities capabilities) { logger.entering(capabilities); if (isNonSauceLabsRun()) { return capabilities; } capabilities = appendSauceLabsCredentials(capabilities); capabilities = appendSauceLabsTunnel(capabilities); capabilities = appendSeleniumVersion(capabilities); capabilities = appendSauceLabsCapabilities(capabilities); logger.exiting(capabilities); return capabilities; }  @Override DesiredCapabilities getCapabilities(DesiredCapabilities capabilities);  }### Answer:
@Test public void test() { Config.setConfigProperty(ConfigProperty.SELENIUM_SAUCELAB_GRID_CONFIG_FILE, SAUCE_CONFIG_FILE); Config.setConfigProperty(ConfigProperty.SELENIUM_USE_SAUCELAB_GRID, "true"); AdditionalSauceCapabilitiesBuilder builder = new AdditionalSauceCapabilitiesBuilder(); DesiredCapabilities capabilities = builder.getCapabilities(new DesiredCapabilities()); assertTrue(capabilities.getCapability("tunnel-identifier").equals("")); assertTrue(capabilities.getCapability("tags") instanceof List<?>); assertTrue(capabilities.getCapability("selenium-version") != null); assertTrue(capabilities.getCapability("username") != null); assertTrue(capabilities.getCapability("accessKey") != null); assertTrue(capabilities.getCapability("parent-tunnel") != null); }