public void testIsDeviceInTag() { testAddRemoveDevicesFromTag(); JPushClient pushClient = new JPushClient(APP_KEY, MASTER_SECRET); BooleanResult result = pushClient.isDeviceInTag("tag3", REGISTRATION_ID1); Assert.IsTrue(result.result); result = pushClient.isDeviceInTag("tag3", REGISTRATION_ID2); Assert.IsTrue(!result.result); }
public void testIsDeviceInTag() { testAddRemoveDevicesFromTag(); JPushClient pushClient = new JPushClient(APP_KEY, MASTER_SECRET); BooleanResult result = pushClient.isDeviceInTag("tag3", REGISTRATION_ID1); Assert.IsTrue( result.result); result = pushClient.isDeviceInTag("tag3", REGISTRATION_ID2); Assert.IsTrue( !result.result); }