30 lines
444 B
Java
Raw Normal View History

package com.iluwatar.execute.around;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
2015-12-27 21:21:57 +02:00
import java.io.File;
import java.io.IOException;
/**
*
* Tests execute-around example.
*
*/
public class AppTest {
@Test
public void test() throws IOException {
String[] args = {};
App.main(args);
}
@Before
@After
public void cleanup() {
File file = new File("testfile.txt");
file.delete();
}
}