public async Task GetFolderList() { var folders = await service.GetFolderListAsync(); bool found = false; // Find the inbox foreach (var folder in folders) { if (folder.Id == YouMailService.InboxFolder) { found = true; } } Assert.IsTrue(found); }