We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e350313 commit 53a9d09Copy full SHA for 53a9d09
parse/src/test/java/com/parse/ParsePushBroadcastReceiverTest.java
@@ -13,6 +13,7 @@
13
import java.util.HashMap;
14
import java.util.Map;
15
import org.json.JSONObject;
16
+import org.junit.After;
17
import org.junit.Before;
18
import org.junit.Test;
19
import org.junit.runner.RunWith;
@@ -38,6 +39,14 @@ public void setUp() throws Exception {
38
39
Parse.initialize(configuration, plugins);
40
}
41
42
+ @After
43
+ public void tearDown() throws Exception {
44
+ super.tearDown();
45
+ ParseCorePlugins.getInstance().reset();
46
+ ParsePlugins.reset();
47
+ Parse.destroy();
48
+ }
49
+
50
@Test
51
public void testBuildNotification() {
52
final ParsePushBroadcastReceiver broadcastReceiver = new ParsePushBroadcastReceiver();
0 commit comments