fun <T : CharSequence, S : SearchBehaviour> CharSequenceContainsBuilder<T, S>.exactly(times: Int): CharSequenceContainsExactlyCheckerBuilder<T, S>
Restricts a contains assertion by specifying that the number of occurrences of the object which we
are looking for, occurs exactly number of times within the search input.
times - The number which the check will compare against the actual number of times an expected object is
found in the input of the search.
IllegalArgumentException - In case times is smaller than zero.
IllegalArgumentException - In case times equals to zero; use containsNot instead.
Return
The newly created builder.