Contains the out-of-the-box Assertion Verbs such as expect, assert and assertThat.
enum class AssertionVerb : StringBasedTranslatable
The Translatables for the assertion functions assert, assertThat and expect. |
fun <T> assert(subject: T): RootExpect<T>
Creates an Expect for the given subject. fun <T> assert(subject: T, assertionCreator: Expect<T>.() -> Unit): Expect<T>
Creates an Expect for the given subject and Expect.addAssertionsCreatedBy the given assertionCreator-lambda where the created Assertions are added as a group and reported as a whole. fun <T, R> Expect<T>. |
|
fun <T> assertThat(subject: T): RootExpect<T>
Creates an Expect for the given subject. fun <T> assertThat(subject: T, assertionCreator: Expect<T>.() -> Unit): Expect<T>
Creates an Expect for the given subject and Expect.addAssertionsCreatedBy the given assertionCreator-lambda where the created Assertions are added as a group and reported as a whole. fun <T, R> Expect<T>. |
|
fun <T> expect(subject: T): RootExpect<T>
Creates an Expect for the given subject. fun <T> expect(subject: T, assertionCreator: Expect<T>.() -> Unit): Expect<T>
Creates an Expect for the given subject and Expect.addAssertionsCreatedBy the given assertionCreator-lambda where the created Assertions are added as a group and reported as a whole. fun <T, R> Expect<T>. |