@Test(expected=IllegalArgumentException.class) public void testForFailForNonExistingPath() { VerifyingFileFactory vff = new VerifyingFileFactory.Builder(log) .failForNonExistingPath().build(); vff.create("/I/H0p3/this/path/d035/n0t/ex15t"); }
public File create(String path) { File file = new File(path); return validate(file); }
VerifyingFileFactory { public File create(String path) { File file = new File(path); return validate(file); } }
VerifyingFileFactory { public File create(String path) { File file = new File(path); return validate(file); } VerifyingFileFactory(Builder builder); }
VerifyingFileFactory { public File create(String path) { File file = new File(path); return validate(file); } VerifyingFileFactory(Builder builder); File create(String path); File validate(File file); }
VerifyingFileFactory { public File create(String path) { File file = new File(path); return validate(file); } VerifyingFileFactory(Builder builder); File create(String path); File validate(File file);  }