Waits for a collection to have at least a certain count.
public Task ForMinimumCountAsync<T>(Func<IEnumerable<T>> getCollection, int minimumCount, string? message = null)
Function to get the collection.
The minimum required count.
Optional message for timeout exception.