@Test(expectedExceptions = { AssertionError.class }, expectedExceptionsMessageRegExp = "Unable to find custom capabilities file 'unexisting_file'!") public void loadCapabilitiesFromNonExistingFileTest() { new CapabilitiesLoader().loadCapabilities("unexisting_file"); }
public void loadCapabilities(String fileName) { loadCapabilities(fileName, false); }
CapabilitiesLoader { public void loadCapabilities(String fileName) { loadCapabilities(fileName, false); } }
CapabilitiesLoader { public void loadCapabilities(String fileName) { loadCapabilities(fileName, false); }  }
CapabilitiesLoader { public void loadCapabilities(String fileName) { loadCapabilities(fileName, false); }  void loadCapabilities(String fileName); void loadCapabilities(String fileName, boolean currentTestOnly); DesiredCapabilities getCapabilities(String fileName); }
CapabilitiesLoader { public void loadCapabilities(String fileName) { loadCapabilities(fileName, false); }  void loadCapabilities(String fileName); void loadCapabilities(String fileName, boolean currentTestOnly); DesiredCapabilities getCapabilities(String fileName);  }