object AtriumFactory : IAtriumFactory
A dummy implementation of IAtriumFactory which should be replaced by an actual implementation. |
|
interface IAtriumFactory
The minimum contract of the 'abstract factory' of atrium. |
fun <T : Any> IAtriumFactory.newCheckLazilyAtTheEnd(assertionVerb: ITranslatable, subject: T, reporter: IReporter, createAssertions: IAssertionPlant<T>.() -> Unit): IAssertionPlant<T>
Use this function to create a custom assertion verb which lazy evaluates assertions (see IAtriumFactory.newCheckLazily). |
|
fun <TSub : T, T : Any> IAtriumFactory.newDownCastBuilder(description: ITranslatable, commonFields: CommonFields<T?>): IDownCastBuilder<T, TSub>
Prepares a down cast; use IDownCastBuilder.cast to perform the down cast. |