### Question:
FileObjectUtils { public static boolean exists(final FileObject fileObject) throws FileSystemException { return fileObject != null && fileObject.exists(); } private  FileObjectUtils(); static boolean exists(final FileObject fileObject); static AbstractFileObject getAbstractFileObject(final FileObject fileObject); static byte[] getContentAsByteArray(final FileObject file); static String getContentAsString(final FileObject file, final Charset charset); static String getContentAsString(final FileObject file, final String charset); static boolean isInstanceOf(final FileObject fileObject, final Class<?> wantedClass); static Properties readProperties(final FileObject fileObject); static Properties readProperties(final FileObject fileObject, final Properties properties); static void writeContent(final FileObject file, final OutputStream output); static void writeContent(final FileObject srcFile, final FileObject destFile);  }### Answer:
@Test public void testExistsNotNull() throws FileSystemException { Assert.assertTrue(FileObjectUtils.exists(VFS.getManager().toFileObject(SystemUtils.getJavaIoTmpDir()))); }
@Test public void testNotExistsNotNull() throws FileSystemException { Assert.assertFalse( FileObjectUtils.exists(VFS.getManager().toFileObject(new File("This file can't possibly exist, right?")))); }
@Test public void testNotExistsNull() throws FileSystemException { Assert.assertFalse(FileObjectUtils.exists(null)); }