interface ExpectBuilder
Defines the contract to create custom assertion verbs, Expect<T>
respectively.
interface AssertionVerbStep<T>
Step which allows to specify the assertion verb which shall be used. |
|
interface FinalStep<T>
Final step in the assertion verb building process, creates a new Expect based on the so far specified options. |
|
interface OptionsChooser<T>
Helper lambda to specify ExpectOptions via convenience methods. |
|
interface OptionsStep<T>
Step which allows to override previously defined properties -- such as use a different assertion verb -- but also allows to define options where usually a default value is used, such as use a customer Reporter. |
fun <T> forSubject(subject: T): ExpectBuilder.AssertionVerbStep<T>
Entry point to use the ExpectBuilder which helps in creating an assertion verb for the given subject or in other words an Expect for the given subject. |