public void TestNotificationFilterPushUser() { SetUpApiContext(); NotificationFilterPush notificationFilter = GetNotificationFilterPush(); List <NotificationFilterPush> allCreatedNotificationFilter = NotificationFilterPushUserInternal.CreateWithListResponse( new List <NotificationFilterPush>() { notificationFilter } ).Value; Assert.True(allCreatedNotificationFilter.Count == 1); }
public void TestNotificationFilterClear() { SetUpApiContext(); List <NotificationFilterPush> allCreatedNotificationFilterPushUser = NotificationFilterPushUserInternal.CreateWithListResponse().Value; List <NotificationFilterUrl> allCreatedNotificationFilterUrlUser = NotificationFilterUrlUserInternal.CreateWithListResponse().Value; List <NotificationFilterUrl> allCreatedNotificationFilterUrlMonetaryAccount = NotificationFilterUrlMonetaryAccountInternal.CreateWithListResponse().Value; Assert.Empty(allCreatedNotificationFilterPushUser); Assert.Empty(allCreatedNotificationFilterUrlUser); Assert.Empty(allCreatedNotificationFilterUrlMonetaryAccount); Assert.StrictEqual(0, NotificationFilterPushUserInternal.List().Value.Count); Assert.StrictEqual(0, NotificationFilterUrlUserInternal.List().Value.Count); Assert.StrictEqual(0, NotificationFilterUrlMonetaryAccountInternal.List().Value.Count); }