withComponent
inline fun <I : Any, T> RootExpectBuilder.OptionsChooser<T>.withComponent(noinline factory: (ComponentFactoryContainer) -> I)(source)
Deprecated
will be removed with Atrium 1.3.0, use the overload which requires a KClass -- this doesn't realy help as it infers a concrete type instead of an interface
Replace with
withComponent(I::class, factory)
Content copied to clipboard
Convenience function which infers the KClass usually required for RootExpectBuilder.OptionsChooser.withComponent.