tock / ai.tock.bot.test.junit / TockJUnit4Rule / startBusMock

startBusMock

fun startBusMock(): BotBusMock (source)

Provides a mock context initialized with the current testContext and runs the bus.