@Test public void driverContextWithStringsMapsTpDriverContextWithEnums() { assertThat(binaryDataFor(OSX, GOOGLECHROME, ARCHITECTURE_64_BIT), is(equalTo(binaryDataFor("osx", "googlechrome", ARCHITECTURE_64_BIT)))); }
public static DriverContext binaryDataFor(OperatingSystem osName, BinaryType browserType, SystemArchitecture architecture) { return new DriverContext(browserType, osName, architecture); }
DriverContext { public static DriverContext binaryDataFor(OperatingSystem osName, BinaryType browserType, SystemArchitecture architecture) { return new DriverContext(browserType, osName, architecture); } }
DriverContext { public static DriverContext binaryDataFor(OperatingSystem osName, BinaryType browserType, SystemArchitecture architecture) { return new DriverContext(browserType, osName, architecture); } private  DriverContext(BinaryType driverType, OperatingSystem operatingSystem, SystemArchitecture systemArchitecture); private  DriverContext(String driverType, String operatingSystem, SystemArchitecture systemArchitecture); }
DriverContext { public static DriverContext binaryDataFor(OperatingSystem osName, BinaryType browserType, SystemArchitecture architecture) { return new DriverContext(browserType, osName, architecture); } private  DriverContext(BinaryType driverType, OperatingSystem operatingSystem, SystemArchitecture systemArchitecture); private  DriverContext(String driverType, String operatingSystem, SystemArchitecture systemArchitecture); SystemArchitecture getSystemArchitecture(); OperatingSystem getOperatingSystem(); static DriverContext binaryDataFor(OperatingSystem osName, BinaryType browserType, SystemArchitecture architecture); static DriverContext binaryDataFor(String osName, String browserType, SystemArchitecture architecture); String buildExtractionPathFromDriverContext(); BinaryType getBinaryTypeForContext(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
DriverContext { public static DriverContext binaryDataFor(OperatingSystem osName, BinaryType browserType, SystemArchitecture architecture) { return new DriverContext(browserType, osName, architecture); } private  DriverContext(BinaryType driverType, OperatingSystem operatingSystem, SystemArchitecture systemArchitecture); private  DriverContext(String driverType, String operatingSystem, SystemArchitecture systemArchitecture); SystemArchitecture getSystemArchitecture(); OperatingSystem getOperatingSystem(); static DriverContext binaryDataFor(OperatingSystem osName, BinaryType browserType, SystemArchitecture architecture); static DriverContext binaryDataFor(String osName, String browserType, SystemArchitecture architecture); String buildExtractionPathFromDriverContext(); BinaryType getBinaryTypeForContext(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }