AssertCountExtension<T> extension

on

Methods

assertCount(int count, [String? message]) Iterable<T>
Asserts that any elements in this iterable meet a given condition. If not, an AssertionError is thrown.