doc / ch.tutteli.atrium.logic.creating / withComponent

withComponent

inline fun <reified I : Any, T> RootExpectBuilder.OptionsChooser<T>.withComponent(noinline factory: (ComponentFactoryContainer) -> I): Unit (source)

Convenience function which infers the KClass usually required for RootExpectBuilder.OptionsChooser.withComponent.