Created
June 30, 2013 10:57
-
-
Save ewolff/5894741 to your computer and use it in GitHub Desktop.
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
package com.mycompany.myproject.test.integration.java; | |
import org.junit.After; | |
import org.junit.AfterClass; | |
import org.junit.Test; | |
import org.vertx.testtools.VertxAssert; | |
import static org.junit.Assert.*; | |
public class AfterTest extends org.vertx.testtools.TestVerticle { | |
private static boolean afterCalled=false; | |
@Test | |
public void empty() { | |
VertxAssert.testComplete(); | |
} | |
@After | |
public void after() { | |
afterCalled=true; | |
} | |
@AfterClass | |
public static void afterClass() { | |
assertTrue(afterCalled); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment