示例#1
0
        public new async Task SetUp()
        {
            _orgId = (await FindMyOrg()).Id;
            _notificationEndpointsApi = Client.GetNotificationEndpointsApi();

            var endpoints = await _notificationEndpointsApi.FindNotificationEndpointsAsync(_orgId, new FindOptions());

            foreach (var endpoint in endpoints._NotificationEndpoints.Where(ne => ne.Name.EndsWith("-IT")))
            {
                await _notificationEndpointsApi.DeleteNotificationEndpointAsync(endpoint);
            }
        }