interface ResultAssertions
Collection of assertion functions and builders which are applicable to subjects with a Result type.
abstract fun <TExpected : Throwable> isFailureOfType(container: AssertionContainer<out Result<*>>, expectedType: KClass<TExpected>): SubjectChangerBuilder.ExecutionStep<Throwable?, TExpected> |
|
abstract fun <E, T : Result<E>> isSuccess(container: AssertionContainer<T>): FeatureExtractorBuilder.ExecutionStep<T, E> |
class DefaultResultAssertions : ResultAssertions |