Created
September 28, 2015 16:22
-
-
Save stephan-mueller/9226f2a7cfa8a555d5b9 to your computer and use it in GitHub Desktop.
JUnit test to demonstrate the method execution order with inheritance.
This file contains 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
public class MethodOrderInheritanceTest extends MethodOrderTest { | |
private static final Logger LOG = LoggerFactory.getLogger(MethodOrderInheritanceTest.class); | |
@Test | |
public void methodAChild() throws Exception { | |
LOG.info("@Test methodAChild()"); | |
} | |
@Test | |
public void methodBChild() throws Exception { | |
LOG.info("@Test methodBChild()"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment