Created
January 3, 2015 13:22
-
-
Save rwoeber/8f311747d70a2fe827c7 to your computer and use it in GitHub Desktop.
IntelliJ IDEA junit4-Template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.junit.Rule; | |
| import org.junit.Test; | |
| import org.junit.rules.ExpectedException; | |
| import org.junit.runner.RunWith; | |
| import org.junit.runners.JUnit4; | |
| import static org.junit.Assert.*; | |
| @RunWith(JUnit4.class) | |
| public class ${NAME} { | |
| @Rule | |
| public ExpectedException exception = ExpectedException.none(); | |
| ${BODY} | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment