doc / ch.tutteli.atrium.creating / ICheckingAssertionPlant

ICheckingAssertionPlant

interface ICheckingAssertionPlant<out T : Any> : IAssertionPlant<T>

Represents a plant for IAssertions and offers the possibility to check whether allAssertionsHold which have been added to this plant (since the last check).

In contrast to IReportingAssertionPlant, this plant does not offer error reporting capabilities but merely checks whether the added IAssertions hold.

Parameters

T - The type of the subject of this IAssertionPlant.

Functions

allAssertionsHold

abstract fun allAssertionsHold(): Boolean

Checks whether the newly added IAssertions hold.

Inherited Functions

createAndAddAssertion

open fun createAndAddAssertion(description: ITranslatable, expected: Any, test: () -> Boolean): IAssertionPlant<T>

Creates an IBasicAssertion based on the given description, expected and test and adds it to the plant.

Extension Properties

and

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

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

und

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

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

Extension Functions

and

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

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

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.

contains

fun <T : CharSequence> IAssertionPlant<T>.contains(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>.contains(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>.contains(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.

containsDefaultTranslationOf

fun <T : CharSequence> IAssertionPlant<T>.containsDefaultTranslationOf(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).

containsNot

fun <T : CharSequence> IAssertionPlant<T>.containsNot(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>.containsNot(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).

containsNotDefaultTranslationOf

fun <T : CharSequence> IAssertionPlant<T>.containsNotDefaultTranslationOf(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).

containsStrictly

fun <E, T : Iterable<E>> IAssertionPlant<T>.containsStrictly(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>.containsStrictly(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.

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.

endsNotWith

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

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

endsWith

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

Makes the assertion that IAssertionPlant.subject ends 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.

hasSize

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

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

hatDieGroesse

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

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

isA

fun <TSub : Any> IAssertionPlant<Any>.isA(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.

isGreaterOrEquals

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

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

isGreaterThan

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

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

isLessOrEquals

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

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

isLessThan

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

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

isNotEmpty

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

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

isNotSame

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

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

isSame

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

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

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.

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.

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.

istNichtSelbeInstanzWie

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

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

istSelbeInstanzWie

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

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

notToBe

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

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

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.

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.

returnValueOf

fun <T : Any, TReturnValue : Any> IAssertionPlant<T>.returnValueOf(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>.returnValueOf(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>.returnValueOf(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>.returnValueOf(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>.returnValueOf(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>.returnValueOf(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>.returnValueOf(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>.returnValueOf(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>.returnValueOf(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>.returnValueOf(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>.returnValueOf(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>.returnValueOf(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.

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.

startsNotWith

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

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

startsWith

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

Makes the assertion that IAssertionPlant.subject starts with expected.

toBe

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

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

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.