doc / ch.tutteli.atrium.api.cc.de_CH

Package ch.tutteli.atrium.api.cc.de_CH

Contains the code completion focused assertion function API in German.

Properties

enthaelt

val <T : CharSequence> IAssertionPlant<T>.enthaelt: CharSequenceContainsBuilder<T, CharSequenceContainsNoOpSearchBehaviour>

Creates an CharSequenceContainsBuilder based on this IAssertionPlant which allows to define more sophisticated contains assertions.

ignoriereGrossKleinschreibung

val <T : CharSequence> CharSequenceContainsBuilder<T, CharSequenceContainsNoOpSearchBehaviour>.ignoriereGrossKleinschreibung: CharSequenceContainsBuilder<T, CharSequenceContainsIgnoringCaseSearchBehaviour>

Defines that the decoration behaviour ignore case shall be applied to this sophisticated contains assertion.

inBeliebigerReihenfolge

val <E, T : Iterable<E>> IterableContainsBuilder<E, T, IterableContainsNoOpSearchBehaviour>.inBeliebigerReihenfolge: IterableContainsBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>

Defines that the search behaviour "find entries in any order in the Iterable" shall be applied to this sophisticated contains in Iterable assertion.

inGegebenerReihenfolge

val <E, T : Iterable<E>> IterableContainsBuilder<E, T, IterableContainsNoOpSearchBehaviour>.inGegebenerReihenfolge: IterableContainsBuilder<E, T, IterableContainsInOrderSearchBehaviour>

Defines that the search behaviour "find entries in order in the Iterable" shall be applied to this sophisticated contains in Iterable assertion.

it

val <T : Any> IAssertionPlant<T>.it: T

Alias for IAssertionPlant.subject useful in property assertions.

nur

val <E, T : Iterable<E>> IterableContainsBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.nur: IterableContainsBuilder<E, T, IterableContainsInAnyOrderOnlySearchBehaviour>
val <E, T : Iterable<E>> IterableContainsBuilder<E, T, IterableContainsInOrderSearchBehaviour>.nur: IterableContainsBuilder<E, T, IterableContainsInOrderOnlySearchBehaviour>

Defines that the constraint "only the specified entries exist in the Iterable" shall be applied to this sophisticated contains Iterable assertion.

und

val <T : Any> IAssertionPlant<T>.und: IAssertionPlant<T>

Can be used to separate assertions when using the fluent API.

Functions

aberHoechstens

fun <T : CharSequence, S : ISearchBehaviour> CharSequenceContainsAtLeastCheckerBuilder<T, S>.aberHoechstens(times: Int): CharSequenceContainsButAtMostCheckerBuilder<T, S>

Restricts a contains at least assertion by specifying that the number of occurrences of the object which we are looking for, occurs at most number of times within the search input.

fun <E, T : Iterable<E>> IterableContainsAtLeastCheckerBuilder<E, T>.aberHoechstens(times: Int): IterableContainsButAtMostCheckerBuilder<E, T>

Restricts a contains at least assertion by specifying that the number of occurrences of the entry which we are looking for, occurs at most number of times within the Iterable.

beginntMit

fun <T : CharSequence> IAssertionPlant<T>.beginntMit(expected: CharSequence): IAssertionPlant<T>

Makes the assertion that IAssertionPlant.subject starts with expected.

beginntNichtMit

fun <T : CharSequence> IAssertionPlant<T>.beginntNichtMit(expected: CharSequence): IAssertionPlant<T>

Makes the assertion that IAssertionPlant.subject does not start with expected.

eintraege

fun <E : Any, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.eintraege(assertionCreator: IAssertionPlant<E>.() -> Unit, vararg otherAssertionCreators: IAssertionPlant<E>.() -> Unit): IAssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where an entry shall be searched which holds all assertions assertionCreator might create and search for entries which hold (one by one) the assertions created by the otherAssertionCreators.

fun <E : Any, T : Iterable<E>> IterableContainsBuilder<E, T, IterableContainsInAnyOrderOnlySearchBehaviour>.eintraege(assertionCreator: IAssertionPlant<E>.() -> Unit, vararg otherAssertionCreators: IAssertionPlant<E>.() -> Unit): IAssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the entry needs to be contained in the Iterable which holds all assertions assertionCreator might create -- equally an entry for each further otherAssertionCreators needs to be contained in the Iterable where it does not matter in which order the entries appear.

fun <E : Any, T : Iterable<E>> IterableContainsBuilder<E, T, IterableContainsInOrderOnlySearchBehaviour>.eintraege(assertionCreator: IAssertionPlant<E>.() -> Unit, vararg otherAssertionCreators: IAssertionPlant<E>.() -> Unit): IAssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the entry needs to be contained in the Iterable which holds all assertions assertionCreator might create -- equally an entry for each further otherAssertionCreators, following the specified order, needs to be contained in the Iterable

eintrag

fun <E : Any, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.eintrag(assertionCreator: IAssertionPlant<E>.() -> Unit): IAssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where an entry shall be searched which holds all assertions assertionCreator might create.

endetMit

fun <T : CharSequence> IAssertionPlant<T>.endetMit(expected: CharSequence): IAssertionPlant<T>

Makes the assertion that IAssertionPlant.subject ends with expected.

endetNichtMit

fun <T : CharSequence> IAssertionPlant<T>.endetNichtMit(expected: CharSequence): IAssertionPlant<T>

Makes the assertion that IAssertionPlant.subject does not end with expected.

enthaelt

fun <T : CharSequence> IAssertionPlant<T>.enthaelt(expected: Any, vararg otherExpected: Any): IAssertionPlant<T>

Makes the assertion that IAssertionPlant.subject contains expected's toString representation and the toString representation of the otherExpected (if defined), using a non disjoint search.

fun <E, T : Iterable<E>> IAssertionPlant<T>.enthaelt(expected: E, vararg otherExpected: E): IAssertionPlant<T>

Makes the assertion that IAssertionPlant.subject contains expected and the otherExpected (if defined).

fun <E : Any, T : Iterable<E>> IAssertionPlant<T>.enthaelt(assertionCreator: IAssertionPlant<E>.() -> Unit, vararg otherAssertionCreators: IAssertionPlant<E>.() -> Unit): IAssertionPlant<T>

Makes the assertion that IAssertionPlant.subject contains only an entry holding the assertions created by the assertionCreator and an additional entry for each otherAssertionCreators (if defined) where it does not matter in which order the entries appear.

enthaeltNicht

fun <T : CharSequence> IAssertionPlant<T>.enthaeltNicht(expected: Any, vararg otherExpected: Any): IAssertionPlant<T>

Makes the assertion that IAssertionPlant.subject does not contain expected's toString representation and neither one of the otherExpected's toString representation (if defined).

fun <E, T : Iterable<E>> IAssertionPlant<T>.enthaeltNicht(expected: E, vararg otherExpected: E): IAssertionPlant<T>

Makes the assertion that IAssertionPlant.subject does not contain expected and neither one of the otherExpected (if defined).

enthaeltNichtDieStandardUebersetzungVon

fun <T : CharSequence> IAssertionPlant<T>.enthaeltNichtDieStandardUebersetzungVon(expected: ITranslatable, vararg otherExpected: ITranslatable): IAssertionPlant<T>

Makes the assertion that IAssertionPlant.subject does not contain expected's getDefault representation and neither one of the otherExpected's getDefault representation (if defined).

enthaeltStandardUebersetzungVon

fun <T : CharSequence> IAssertionPlant<T>.enthaeltStandardUebersetzungVon(expected: ITranslatable, vararg otherExpected: ITranslatable): IAssertionPlant<T>

Makes the assertion that IAssertionPlant.subject contains expected's getDefault representation and the getDefault representations of the otherExpected (if defined).

enthaeltStrikt

fun <E, T : Iterable<E>> IAssertionPlant<T>.enthaeltStrikt(expected: E, vararg otherExpected: E): IAssertionPlant<T>

Makes the assertion that IAssertionPlant.subject contains only expected and the otherExpected (if defined) in the defined order.

fun <E : Any, T : Iterable<E>> IAssertionPlant<T>.enthaeltStrikt(assertionCreator: IAssertionPlant<E>.() -> Unit, vararg otherAssertionCreators: IAssertionPlant<E>.() -> Unit): IAssertionPlant<T>

Makes the assertion that IAssertionPlant.subject contains only an entry holding the assertions created by the assertionCreator and an additional entry for each otherAssertionCreators (if defined) in the defined order holding the assertions created by them.

genau

fun <T : CharSequence, S : ISearchBehaviour> CharSequenceContainsBuilder<T, S>.genau(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.

fun <E, T : Iterable<E>> IterableContainsBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.genau(times: Int): IterableContainsExactlyCheckerBuilder<E, T>

Restricts a contains assertion by specifying that the number of occurrences of the entry which we are looking for, occurs genau number of times within the Iterable.

hatDieGroesse

fun <T : Collection<*>> IAssertionPlant<T>.hatDieGroesse(size: Int): IAssertionPlant<T>

Makes the assertion that IAssertionPlant.subject's Collection.size is size.

hoechstens

fun <T : CharSequence, S : ISearchBehaviour> CharSequenceContainsBuilder<T, S>.hoechstens(times: Int): CharSequenceContainsAtMostCheckerBuilder<T, S>

Restricts a contains assertion by specifying that the number of occurrences of the object which we are looking for, occurs at least once but at most number of times within the search input.

fun <E, T : Iterable<E>> IterableContainsBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.hoechstens(times: Int): IterableContainsAtMostCheckerBuilder<E, T>

Restricts a contains assertion by specifying that the number of occurrences of the entry which we are looking for, occurs at least once but at most number of times within the Iterable.

ist

fun <T : Any> IAssertionPlant<T>.ist(expected: T): IAssertionPlant<T>

Makes the assertion that IAssertionPlant.subject is (equals) expected.

istEin

fun <TSub : Any> IAssertionPlant<Any>.istEin(assertionCreator: IAssertionPlant<TSub>.() -> Unit): Unit

Makes the assertion that IAssertionPlant.subject is a TSub (the same type or a sub-type) and if so, uses assertionCreator which could create further assertions which are added as a group.

istFalse

fun IAssertionPlant<Boolean>.istFalse(): IAssertionPlant<Boolean>

Makes the assertion that IAssertionPlant.subject is false.

istGroesserAls

fun <T> IAssertionPlant<T>.istGroesserAls(expected: T): IAssertionPlant<T> where T : Number, T : Comparable<T>

Makes the assertion that IAssertionPlant.subject is greater than expected.

istGroesserOderGleich

fun <T> IAssertionPlant<T>.istGroesserOderGleich(expected: T): IAssertionPlant<T> where T : Number, T : Comparable<T>

Makes the assertion that IAssertionPlant.subject is greater than or equals expected.

istKleinerAls

fun <T> IAssertionPlant<T>.istKleinerAls(expected: T): IAssertionPlant<T> where T : Number, T : Comparable<T>

Makes the assertion that IAssertionPlant.subject is less than expected.

istKleinerOderGleich

fun <T> IAssertionPlant<T>.istKleinerOderGleich(expected: T): IAssertionPlant<T> where T : Number, T : Comparable<T>

Makes the assertion that IAssertionPlant.subject is less than or equals expected.

istLeer

fun <T : CharSequence> IAssertionPlant<T>.istLeer(): IAssertionPlant<T>

Makes the assertion that IAssertionPlant.subject.kotlin.text.isEmpty.

istNicht

fun <T : Any> IAssertionPlant<T>.istNicht(expected: T): IAssertionPlant<T>

Makes the assertion that IAssertionPlant.subject is not (does not equal) expected.

istNichtLeer

fun <T : CharSequence> IAssertionPlant<T>.istNichtLeer(): IAssertionPlant<T>

Makes the assertion that IAssertionPlant.subject.kotlin.text.isNotEmpty.

istNichtNull

fun <T : Any> IAssertionPlantNullable<T?>.istNichtNull(assertionCreator: IAssertionPlant<T>.() -> Unit): Unit

Makes the assertion that IAssertionPlantNullable.subject is not null and if so, uses assertionCreator which could create further assertions which are added as a group.

istNichtSelbeInstanzWie

fun <T : Any> IAssertionPlant<T>.istNichtSelbeInstanzWie(expected: T): IAssertionPlant<T>

Makes the assertion that IAssertionPlant.subject is not the same instance as expected.

istNull

fun <T> IAssertionPlantNullable<T>.istNull(): Unit

Makes the assertion that IAssertionPlant.subject is null.

istSelbeInstanzWie

fun <T : Any> IAssertionPlant<T>.istSelbeInstanzWie(expected: T): IAssertionPlant<T>

Makes the assertion that IAssertionPlant.subject is the same instance as expected.

istTrue

fun IAssertionPlant<Boolean>.istTrue(): IAssertionPlant<Boolean>

Makes the assertion that IAssertionPlant.subject is true.

message

fun <T : Throwable> IAssertionPlant<T>.message(assertionCreator: IAssertionPlant<String>.() -> Unit): Unit

Creates an IAssertionPlantNullable for the message of the plant's subject (which is an Throwable) and makes the assertion that message istNichtNull and uses assertionCreator which might create further IAssertions which are lazily evaluated at the end.

nichtOderHoechstens

fun <T : CharSequence, S : ISearchBehaviour> CharSequenceContainsBuilder<T, S>.nichtOderHoechstens(times: Int): CharSequenceContainsNotOrAtMostCheckerBuilder<T, S>

Restricts a contains assertion by specifying that the number of occurrences of the object which we are looking for, occurs not at all or at most number of times within the search input.

fun <E, T : Iterable<E>> IterableContainsBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.nichtOderHoechstens(times: Int): IterableContainsNotOrAtMostCheckerBuilder<E, T>

Restricts a contains assertion by specifying that the number of occurrences of the entry which we are looking for, occurs not at all or at most number of times within the Iterable.

objekt

fun <E, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.objekt(expected: E): IAssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected object shall be searched within the Iterable.

objekte

fun <E, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.objekte(expected: E, vararg otherExpected: E): IAssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected object as well as the otherExpected objects shall be searched within the iterable.

fun <E, T : Iterable<E>> IterableContainsBuilder<E, T, IterableContainsInAnyOrderOnlySearchBehaviour>.objekte(expected: E, vararg otherExpected: E): IAssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected object as well as the otherExpected objects need to be contained in Iterable where it does not matter in which order.

fun <E, T : Iterable<E>> IterableContainsBuilder<E, T, IterableContainsInOrderOnlySearchBehaviour>.objekte(expected: E, vararg otherExpected: E): IAssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected object as well as the otherExpected objects need to be contained in Iterable in the specified order.

property

fun <T : Any, TProperty : Any> IAssertionPlant<T>.property(property: KProperty0<TProperty>): IAssertionPlant<TProperty>

Creates an IAssertionPlant for the given property which eventually adds IAssertionGroups with a IFeatureAssertionGroupType, containing the assertions created for the given property, to the current plant.

fun <T : Any, TProperty : Any> IAssertionPlant<T>.property(property: KProperty0<TProperty>, assertionCreator: IAssertionPlant<TProperty>.() -> Unit): IAssertionPlant<TProperty>

Creates an IAssertionPlant for the given property which eventually adds IAssertionGroups with a IFeatureAssertionGroupType, containing the assertions created for the given property, to the current plant -- starting with a group consisting of the IAssertions created by the assertionCreator lambda.

regex

fun <T : CharSequence> CharSequenceContainsCheckerBuilder<T, CharSequenceContainsNoOpSearchBehaviour>.regex(pattern: Any, vararg otherPatterns: Any): IAssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the given pattern as well as the otherPatterns are expected to have a match, using a non disjoint search.

fun <T : CharSequence> CharSequenceContainsCheckerBuilder<T, CharSequenceContainsIgnoringCaseSearchBehaviour>.regex(pattern: Any, vararg otherPatterns: Any): IAssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the given pattern as well as the otherPatterns are expected to have a match (ignoring case), using a non disjoint search.

rueckgabewertVon

fun <T : Any, TReturnValue : Any> IAssertionPlant<T>.rueckgabewertVon(method: KFunction0<TReturnValue>): IAssertionPlant<TReturnValue>

Creates an IAssertionPlant, for the value returned by calling method, which eventually adds IAssertionGroups with a IFeatureAssertionGroupType, containing the assertions created for the return value, to the current plant.

fun <T : Any, TReturnValue : Any> IAssertionPlant<T>.rueckgabewertVon(method: KFunction0<TReturnValue>, assertionCreator: IAssertionPlant<TReturnValue>.() -> Unit): IAssertionPlant<TReturnValue>

Creates an IAssertionPlant, for the value returned by calling method, which eventually adds IAssertionGroups with a IFeatureAssertionGroupType, containing the assertions created for the return value, to the current plant -- starting with a group consisting of the IAssertions created by the assertionCreator lambda.

fun <T : Any, T1, TReturnValue : Any> IAssertionPlant<T>.rueckgabewertVon(method: KFunction1<T1, TReturnValue>, arg1: T1): IAssertionPlant<TReturnValue>

Creates an IAssertionPlant, for the value returned by calling method with arg1, which eventually adds IAssertionGroups with a IFeatureAssertionGroupType, containing the assertions created for the return value, to the current plant.

fun <T : Any, T1, TReturnValue : Any> IAssertionPlant<T>.rueckgabewertVon(method: KFunction1<T1, TReturnValue>, arg1: T1, assertionCreator: IAssertionPlant<TReturnValue>.() -> Unit): IAssertionPlant<TReturnValue>

Creates an IAssertionPlant, for the value returned by calling method with arg1, which eventually adds IAssertionGroups with a IFeatureAssertionGroupType, containing the assertions created for the return value, to the current plant -- starting with a group consisting of the IAssertions created by the assertionCreator lambda.

fun <T : Any, T1, T2, TReturnValue : Any> IAssertionPlant<T>.rueckgabewertVon(method: KFunction2<T1, T2, TReturnValue>, arg1: T1, arg2: T2): IAssertionPlant<TReturnValue>

Creates an IAssertionPlant, for the value returned by calling method with arg1 and arg2, which eventually adds IAssertionGroups with a IFeatureAssertionGroupType, containing the assertions created for the return value, to the current plant.

fun <T : Any, T1, T2, TReturnValue : Any> IAssertionPlant<T>.rueckgabewertVon(method: KFunction2<T1, T2, TReturnValue>, arg1: T1, arg2: T2, assertionCreator: IAssertionPlant<TReturnValue>.() -> Unit): IAssertionPlant<TReturnValue>

Creates an IAssertionPlant, for the value returned by calling method with arg1 and arg2, which eventually adds IAssertionGroups with a IFeatureAssertionGroupType, containing the assertions created for the return value, to the current plant -- starting with a group consisting of the IAssertions created by the assertionCreator lambda.

fun <T : Any, T1, T2, T3, TReturnValue : Any> IAssertionPlant<T>.rueckgabewertVon(method: KFunction3<T1, T2, T3, TReturnValue>, arg1: T1, arg2: T2, arg3: T3): IAssertionPlant<TReturnValue>

Creates an IAssertionPlant, for the value returned by calling method with arg1, arg2 and arg3, which eventually adds IAssertionGroups with a IFeatureAssertionGroupType, containing the assertions created for the return value, to the current plant.

fun <T : Any, T1, T2, T3, TReturnValue : Any> IAssertionPlant<T>.rueckgabewertVon(method: KFunction3<T1, T2, T3, TReturnValue>, arg1: T1, arg2: T2, arg3: T3, assertionCreator: IAssertionPlant<TReturnValue>.() -> Unit): IAssertionPlant<TReturnValue>

Creates an IAssertionPlant, for the value returned by calling method with arg1, arg2 and arg3, which eventually adds IAssertionGroups with a IFeatureAssertionGroupType, containing the assertions created for the return value, to the current plant -- starting with a group consisting of the IAssertions created by the assertionCreator lambda.

fun <T : Any, T1, T2, T3, T4, TReturnValue : Any> IAssertionPlant<T>.rueckgabewertVon(method: KFunction4<T1, T2, T3, T4, TReturnValue>, arg1: T1, arg2: T2, arg3: T3, arg4: T4): IAssertionPlant<TReturnValue>

Creates an IAssertionPlant, for the value returned by calling method with arg1, arg2, arg3 and arg4, which eventually adds IAssertionGroups with a IFeatureAssertionGroupType, containing the assertions created for the return value, to the current plant.

fun <T : Any, T1, T2, T3, T4, TReturnValue : Any> IAssertionPlant<T>.rueckgabewertVon(method: KFunction4<T1, T2, T3, T4, TReturnValue>, arg1: T1, arg2: T2, arg3: T3, arg4: T4, assertionCreator: IAssertionPlant<TReturnValue>.() -> Unit): IAssertionPlant<TReturnValue>

Creates an IAssertionPlant, for the value returned by calling method with arg1, arg2, arg3 and arg4, which eventually adds IAssertionGroups with a IFeatureAssertionGroupType, containing the assertions created for the return value, to the current plant -- starting with a group consisting of the IAssertions created by the assertionCreator lambda.

fun <T : Any, T1, T2, T3, T4, T5, TReturnValue : Any> IAssertionPlant<T>.rueckgabewertVon(method: KFunction5<T1, T2, T3, T4, T5, TReturnValue>, arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5): IAssertionPlant<TReturnValue>

Creates an IAssertionPlant, for the value returned by calling method with arg1, arg2, arg3, arg4 and arg5, which eventually adds IAssertionGroups with a IFeatureAssertionGroupType, containing the assertions created for the return value, to the current plant.

fun <T : Any, T1, T2, T3, T4, T5, TReturnValue : Any> IAssertionPlant<T>.rueckgabewertVon(method: KFunction5<T1, T2, T3, T4, T5, TReturnValue>, arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, assertionCreator: IAssertionPlant<TReturnValue>.() -> Unit): IAssertionPlant<TReturnValue>

Creates an IAssertionPlant, for the value returned by calling method with arg1, arg2, arg3, arg4 and arg5, which eventually adds IAssertionGroups with a IFeatureAssertionGroupType, containing the assertions created for the return value, to the current plant -- starting with a group consisting of the IAssertions created by the assertionCreator lambda.

und

fun <T : Any> IAssertionPlant<T>.und(assertionCreator: IAssertionPlant<T>.() -> Unit): IAssertionPlant<T>

Can be used to create a group of sub assertions when using the fluent API.

wert

fun <T : CharSequence> CharSequenceContainsCheckerBuilder<T, CharSequenceContainsNoOpSearchBehaviour>.wert(expected: Any): IAssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected object shall be searched, using a non disjoint search.

fun <T : CharSequence> CharSequenceContainsCheckerBuilder<T, CharSequenceContainsIgnoringCaseSearchBehaviour>.wert(expected: Any): IAssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected object shall be searched (ignoring case), using a non disjoint search.

fun <E, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.wert(expected: E): IAssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected value shall be searched within the Iterable.

werte

fun <T : CharSequence> CharSequenceContainsCheckerBuilder<T, CharSequenceContainsNoOpSearchBehaviour>.werte(expected: Any, vararg otherExpected: Any): IAssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected object as well as the otherExpected objects shall be searched, using a non disjoint search.

fun <T : CharSequence> CharSequenceContainsCheckerBuilder<T, CharSequenceContainsIgnoringCaseSearchBehaviour>.werte(expected: Any, vararg otherExpected: Any): IAssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected object as well as the otherExpected objects shall be searched (ignoring case), using a non disjoint search.

fun <E, T : Iterable<E>> IterableContainsCheckerBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.werte(expected: E, vararg otherExpected: E): IAssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected value as well as the otherExpected values shall be searched within the Iterable.

fun <E, T : Iterable<E>> IterableContainsBuilder<E, T, IterableContainsInAnyOrderOnlySearchBehaviour>.werte(expected: E, vararg otherExpected: E): IAssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected value as well as the otherExpected values need to be contained in Iterable where it does not matter in which order.

fun <E, T : Iterable<E>> IterableContainsBuilder<E, T, IterableContainsInOrderOnlySearchBehaviour>.werte(expected: E, vararg otherExpected: E): IAssertionPlant<T>

Finishes the specification of the sophisticated contains assertion where the expected value as well as the otherExpected values need to be contained in Iterable in the specified order.

wirft

fun <TExpected : Throwable> ThrowableThrownBuilder.wirft(): Unit

Makes the assertion that the thrown Throwable is of type TExpected.

fun <TExpected : Throwable> ThrowableThrownBuilder.wirft(assertionCreator: IAssertionPlant<TExpected>.() -> Unit): Unit

Makes the assertion that the thrown Throwable is of type TExpected and it assertionCreator which are checked additionally as well.

zumindest

fun <T : CharSequence, S : ISearchBehaviour> CharSequenceContainsBuilder<T, S>.zumindest(times: Int): CharSequenceContainsAtLeastCheckerBuilder<T, S>

Restricts a contains assertion by specifying that the number of occurrences of the object which we are looking for, occurs at least number of times within the search input.

fun <E, T : Iterable<E>> IterableContainsBuilder<E, T, IterableContainsInAnyOrderSearchBehaviour>.zumindest(times: Int): IterableContainsAtLeastCheckerBuilder<E, T>

Restricts a contains assertion by specifying that the number of occurrences of the entry which we are looking for, occurs at least number of times within the Iterable.