package study.hard.javalib.file;

import java.io.File;
import java.io.IOException;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

public class FileTest {

	FileHandler fileHandler;
	File tempFile;

	@Before
	public void setUp() {
		fileHandler = new FileHandler();
	}

	@Test
	public void testCreateTempFile() throws IOException {
		tempFile = fileHandler.getTempFile("TEST_TEMP_FILE.txt");
		System.out.println("Absolute path of temporary file: " + tempFile.getAbsolutePath());
	}

	@Test
	public void testGetTempDirectoryPath() {
		File tempDirectory = new File(System.getProperty("java.io.tmpdir"));
		System.out.println(tempDirectory);
	}

	@After
	public void clean() {
		if (tempFile != null) {
			tempFile.delete();
		}
	}
}

@@ -644,16 +644,59 @@
 println(
+%22Absolute path of temporary directory: %22 + 
 tempDire

Add a comment for log.