atrium-domain-builders-jvm / ch.tutteli.atrium.domain.builders.reporting / ReporterBuilderFinalStep

ReporterBuilderFinalStep

interface ReporterBuilderFinalStep (source)

Final step in the ReporterBuilder process, creates the desired Reporter.

Functions

build

abstract fun build(): <ERROR CLASS>

Creates and returns the new Reporter.

Companion Object Functions

create

fun create(factory: () -> <ERROR CLASS>): ReporterBuilderFinalStep

Extension Functions

asExpect

fun <T, A> A.asExpect(): <ERROR CLASS><T>
fun <T : Any, A> A.asExpect(assertionCreator: <ERROR CLASS><T>.() -> Unit): A

Turns Assert or AssertionPlantNullable into an Expect so that you can use new functionality which is not available on Assert/AssertionPlantNullable.

Inheritors

ReporterBuilderFinalStepImpl

class ReporterBuilderFinalStepImpl : ReporterBuilderFinalStep