Skip to content

Instantly share code, notes, and snippets.

@mulderbaba
Created February 22, 2013 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mulderbaba/5013850 to your computer and use it in GitHub Desktop.
Save mulderbaba/5013850 to your computer and use it in GitHub Desktop.
Before Annotation Order Sample Test Fixture
package org.ankarajug.testinfected.gist;
import org.junit.Before;
import org.junit.Test;
/**
* User: mertcaliskan
* Date: 2/22/13
*/
public class BeforeOrderSample {
@Before
public void finalSetup() {
System.out.println("final stuff");
}
@Test
public void doTheTest() {
System.out.println("test test test");
}
@Before
public void initialSetup() {
System.out.println("initial stuff");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment