private void assertFileNotFound(PathParts parts) { try { parts.getFileSystem().getFileStatus(parts.getUploadPath()); fail(); } catch (IOException e) {; // expected } }