public async Task WhenAll_CompletesWhenAllOperationsCompleted() { // Arrange var op1 = AsyncResult.Delay(1); var op2 = AsyncResult.Delay(2); // Act await AsyncResult.WhenAll(op1, op2); // Assert AssertCompleted(op1); AssertCompleted(op2); }