1 parent 9d4cb09 commit 73a669eCopy full SHA for 73a669e
1 file changed
java/srcTest/com/pubnub/api/UnsubscribeTest.java
@@ -4,6 +4,7 @@
4
import org.json.JSONException;
5
import org.json.JSONObject;
6
import org.junit.Before;
7
+import org.junit.BeforeClass;
8
import org.junit.Rule;
9
import org.junit.Test;
10
import org.junit.rules.ExpectedException;
@@ -27,6 +28,11 @@ public class UnsubscribeTest {
27
28
@Rule
29
public ExpectedException thrown = ExpectedException.none();
30
31
+ @BeforeClass
32
+ public static void cleanup() throws JSONException, InterruptedException {
33
+ TestHelper.cleanup();
34
+ }
35
+
36
@Before
37
public void setUp() {
38
pubnub = new Pubnub("demo", "demo");
0 commit comments