public async Task GetAllTables() { //create two tables string tableName1 = Recording.GenerateAssetName("testtable1"); string tableName2 = Recording.GenerateAssetName("testtable2"); Table table1 = (await _tableContainer.CreateOrUpdateAsync(tableName1)).Value; Table table2 = (await _tableContainer.CreateOrUpdateAsync(tableName2)).Value; //validate two tables Table table3 = null; Table table4 = null; int count = 0; await foreach (Table table in _tableContainer.GetAllAsync()) { count++; if (table.Id.Name == tableName1) { table3 = table; } if (table.Id.Name == tableName2) { table4 = table; } } Assert.AreEqual(count, 2); Assert.IsNotNull(table3); Assert.IsNotNull(table4); }