use of org.junit.jupiter.api.AfterEach in project java-design-patterns by iluwatar.
the class AppTest method cleanup.
@BeforeEach
@AfterEach
public void cleanup() {
File file = new File("testfile.txt");
file.delete();
}
use of org.junit.jupiter.api.AfterEach in project java-design-patterns by iluwatar.
the class AppTest method cleanup.
@BeforeEach
@AfterEach
public void cleanup() {
File file1 = new File("fish1.out");
file1.delete();
File file2 = new File("fish2.out");
file2.delete();
}
Aggregations