	@Test
	public void testCreateTempDirectory() throws Exception {

		File f = null;
		try {
			f = FileUtil.createTempDirectory();

			assertTrue(f.exists());
			assertTrue(f.isDirectory());
			assertEquals(0, f.list().length);
		} finally {
			if (f != null) {
				f.delete();
			}
		}
	}