doc / ch.tutteli.atrium.logic.kotlin_1_3.impl / DefaultResultAssertions

DefaultResultAssertions

class DefaultResultAssertions : ResultAssertions (source)

Constructors

<init>

DefaultResultAssertions()

Functions

isFailureOfType

fun <TExpected : Throwable> isFailureOfType(container: AssertionContainer<out Result<*>>, expectedType: KClass<TExpected>): SubjectChangerBuilder.ExecutionStep<Throwable?, TExpected>

isSuccess

fun <E, T : Result<E>> isSuccess(container: AssertionContainer<T>): FeatureExtractorBuilder.ExecutionStep<T, E>