### Question:
ZipFileUtil { public static String toZipFileEntryName(File file) { if (file == null) { throw new IllegalArgumentException("method parameter file must not be null"); } String filePath = file.getAbsolutePath(); String entryName = filePath.replace(':', '/'); entryName = WINDOWS_FILE_SEPARATOR.matcher(entryName).replaceAll("/"); entryName = DUPLICATE_SEPARATORS.matcher(entryName).replaceAll("/"); while (entryName.charAt(0) == '/') { entryName = entryName.substring(1); } return entryName; } private  ZipFileUtil(); static String toZipFileEntryName(File file);  }### Answer:
@Test(expected = IllegalArgumentException.class) public void testNullArgumentsAreNotTolerated() { toZipFileEntryName(null); }