We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e3b4ae commit b76dd35Copy full SHA for b76dd35
1 file changed
jaxrs/async-client/src/test/java/org/javaee7/jaxrs/asyncclient/MyResourceTest.java
@@ -17,6 +17,7 @@
17
import org.junit.BeforeClass;
18
import org.junit.Test;
19
import static org.junit.Assert.*;
20
+import org.junit.Before;
21
22
/**
23
* @author Arun Gupta
@@ -27,8 +28,8 @@ public class MyResourceTest {
27
28
29
private static WebTarget target;
30
- @BeforeClass
31
- public static void setUpClass() {
+ @Before
32
+ public void setUpClass() {
33
Client client = ClientBuilder.newClient();
34
target = client.target("http://localhost:8080/async-client/webresources/fruits");
35
}
0 commit comments