public async Task BulkDeleteObjectAsyncTest() { var a1 = await ObjectHelper.CreateNewAsync(); var a2 = await ObjectHelper.CreateNewAsync(); var a3 = await ObjectHelper.CreateNewAsync(); var a4 = await ObjectHelper.CreateNewAsync(); await APObjects.MultiDeleteAsync(a1.Type, a1.Id, a2.Id, a3.Id, a4.Id); var ids = new[] { a1.Id, a2.Id, a3.Id, a4.Id }; for (int i = 0; i < ids.Length; i++) { try { var copy = await APObjects.GetAsync("object", ids[i]); Assert.Fail("Operation should have faulted since the object has been deleted."); } catch (AppacitiveApiException) { } } }