private void CleanupObjects(IEnumerable <string> inputObjectIds, IEnumerable <string> outputObjectIds) { foreach (var id in inputObjectIds) { DataApiClient.DeleteAsync <UnitTestInputObject>(id).Wait(); } foreach (var id in outputObjectIds) { DataApiClient.DeleteAsync <UnitTestOutputObject>(id).Wait(); } }