tock / ai.tock.bot.test.mock / mockMessenger

mockMessenger

fun mockMessenger(bus: BotBus = mockk(), test: (BotBus) -> Any?): Unit (source)

Execute test with a bus mocked with classic messenger extensions.