|
6 | 6 |
|
7 | 7 | import java.util.List; |
8 | 8 | import java.util.Map; |
9 | | -import java.util.regex.Matcher; |
10 | | -import java.util.regex.Pattern; |
11 | 9 |
|
12 | 10 | import static io.intercom.api.TestSupport.load; |
13 | | -import static org.junit.Assert.assertEquals; |
14 | | -import static org.junit.Assert.assertFalse; |
15 | | -import static org.junit.Assert.assertTrue; |
| 11 | +import static org.junit.Assert.*; |
16 | 12 |
|
17 | 13 | public class UserTest { |
18 | 14 |
|
@@ -61,8 +57,6 @@ public void testUserUpdateDefaultSerdes() throws Exception { |
61 | 57 | check we didn't set unsubscribed_from_emails, update_last_request_at, or |
62 | 58 | new_session by default |
63 | 59 | */ |
64 | | - assertEquals(null, userUpdate.getNewSession()); |
65 | | - assertEquals(null, userUpdate.getUnsubscribedFromEmails()); |
66 | 60 | assertEquals(null, userUpdate.getUnsubscribedFromEmails()); |
67 | 61 | assertEquals(null, userUpdate.isNewSession()); |
68 | 62 | assertEquals(null, userUpdate.isUpdateLastRequestAt()); |
@@ -97,8 +91,6 @@ public void testUserUpdateDefaultModifiedSerdes() throws Exception { |
97 | 91 |
|
98 | 92 | final User.UserUpdate userUpdate = User.UserUpdate.buildFrom(user); |
99 | 93 |
|
100 | | - assertEquals(true, userUpdate.getNewSession()); |
101 | | - assertEquals(true, userUpdate.getUnsubscribedFromEmails()); |
102 | 94 | assertEquals(true, userUpdate.getUnsubscribedFromEmails()); |
103 | 95 | assertEquals(true, userUpdate.isNewSession()); |
104 | 96 | assertEquals(true, userUpdate.isUpdateLastRequestAt()); |
|
0 commit comments