IterableExpector<T> extension

Expectations for Iterable.

on

Properties

isEmpty → void
Checks that the tested iterable is empty.
no setter
isNotEmpty → void
Checks that the tested iterable is not empty.
no setter

Methods

contains(T value) → void
Checks that the tested iterable contains value.
containsAll(Iterable<T> value) → void
Checks that the tested iterable contains all values provided by value.
hasLength(int length) → void
Checks that the tested iterable has the good length.