public async Task WhenRestore_ThenSuccess() { var headers = await _defaultRequestHeadersService.GetAsync(); var statusIds = ( await Task.WhenAll( _create.OrderStatus .WithName("Test".WithGuid()) .BuildAsync(), _create.OrderStatus .WithName("Test".WithGuid()) .BuildAsync()) ) .Select(x => x.Id) .ToList(); await _orderStatusesClient.RestoreAsync(statusIds, headers); var statuses = await _orderStatusesClient.GetListAsync(statusIds, headers); Assert.All(statuses, x => Assert.False(x.IsDeleted)); }