Last active
August 29, 2015 14:18
-
-
Save ivanursul/47876fc4c56646ddcaa8 to your computer and use it in GitHub Desktop.
DefaultTest.java for www.ivanursul.com
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
| package org.ivanursul.investigration.rule; | |
| import static org.junit.Assert.assertTrue; | |
| import org.junit.ClassRule; | |
| import org.junit.Rule; | |
| import org.junit.Test; | |
| public class DefaultTest { | |
| @Rule | |
| public LoggingRule rule = new LoggingRule("local"); | |
| @ClassRule | |
| public static LoggingRule globalRule = new LoggingRule("global"); | |
| @Test | |
| public void testRule() throws Exception { | |
| assertTrue(true); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment