withComponent

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