public void TestNotificationFilterUrlMonetaryAccount() { SetUpApiContext(); NotificationFilterUrl notificationFilter = GetNotificationFilterUrl(); List <NotificationFilterUrl> allCreatedNotificationFilter = NotificationFilterUrlMonetaryAccountInternal.CreateWithListResponse( GetPrimaryMonetaryAccount().Id.Value, new List <NotificationFilterUrl>() { 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); }