public void should_leave_a_unix_java_path_alone_when_running_on_unix() {
String unixPath = "/home/myuser/target/test-classes/documentUpload/somefile.pdf";
if (!runningOnWindows()) {
WebElement field = mock(WebElement.class);
FileToUpload fileToUpload = new FileToUpload(unixPath);
fileToUpload.to(field);
verify(field).sendKeys(unixPath);
}
}