BAEL-5421

This commit is contained in:
opokharel 2022-06-25 11:35:39 -06:00
parent d29b19e148
commit ded7b0af8f
1 changed files with 5 additions and 3 deletions

View File

@ -1,14 +1,16 @@
package com.baeldung.jar; package com.baeldung.jar;
import java.io.IOException;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
class MySampleGUIAppnUnitTest throws IOException { class MySampleGUIAppnUnitTest {
@Test @Test
void testMain() throws IOException { void testMain() throws IOException {
MySampleGUIAppn instance = new MySampleGUIAppn(); MySampleGUIAppn instance = new MySampleGUIAppn();
String [] args = null; String [] args = null;
System.exit(DO_NOTHING_ON_CLOSE); System.exit(0);
main(args); MySampleGUIAppn.main(args);
} }
} }