fun <E, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.objekt(expected: E): AssertionPlant<T>
Finishes the specification of the sophisticated contains
assertion where the expected object shall be searched
within the Iterable.
Delegates to objekte(expected)
.
expected
- The object which is expected to be contained within the Iterable.
AssertionError
- Might throw an AssertionError if the assertion made is not correct.
Return
The AssertionPlant for which the assertion was built to support a fluent API.
fun <E, T : Iterable<E>> IterableContainsBuilder<E, T, IterableContainsInAnyOrderOnlySearchBehaviour>.objekt(expected: E): AssertionPlant<T>
fun <E, T : Iterable<E>> IterableContainsBuilder<E, T, IterableContainsInOrderOnlySearchBehaviour>.objekt(expected: E): AssertionPlant<T>
Finishes the specification of the sophisticated contains
assertion where the Iterable needs to contain only the
expected object.
Delegate to objekte(expected)
.
expected
- The object which is expected to be contained within the Iterable.
AssertionError
- Might throw an AssertionError if the assertion made is not correct.
Return
The AssertionPlant for which the assertion was built to support a fluent API.