Created
January 10, 2011 14:12
-
-
Save jpcaruana/772808 to your computer and use it in GitHub Desktop.
setUpTearDownBarreVerteTime
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
@Before public void setup() { | |
BarreVerteTime.setMockTime(true); | |
BarreVerteTime.getInstance().setMockDate("2010-01-10 10:00:00"); | |
} | |
@After public void teardown() { | |
BarreVerteTime.setMockTime(false); | |
} | |
@Test public void unPremierTest() { /* ... */ } | |
@Test public void unDeuxiemeTest() { /* ... */ } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment